Search:
Type: Posts; User: Montclair
Search:
Search took 0.03 seconds.
-
Can you give me any insight on how to "free console before termination"? I don't see any public methods to do that with Mconsole library and it looks like he's already doing that in the in the...
-
-
Maybe I'm stupid, but I can't find anything about this anywhere.
I'm using vbAvance and MConsole.bas for a console application. I can't properly debug my code when I run it in the IDE.
The...
-
Nice work, wqweto! Thanks for this!
-
Right, and I assumed vbAdvance was doing exactly that behind the scenes. Load the add-in, check the "Make a console application" box once, save the project, and done. Who cares if the add-in is...
-
Yep, I know, but using the add-in and checking a box is easier. And, that's why I didn't even consider that as a source of the problem. It should be a set it and forget it thing.
-
Me too. Was driving me nuts!
I'm not really doing anything spectacular. Reading database fields, and dumping them into an HTML file is essentially it, which is why this was perplexing enough for...
-
Not sure what to tell you, but not having the add-in loaded at compile time was definitely the problem. Once loaded, the compiled exe performs as expected regardless of which OS created it. I'm...
-
I have no doubt that's true, however, running the exe on different OSes wasn't the problem. Running the same project exe on one OS, compiled on different OSes, was the problem.
The problem really...
-
Actual performance once the code starts running wasn't the problem. I certainly can't go converting to other DB formats without a major overhaul of all of our systems -- and that's not happening...
-
Thanks for the replies guys. I found the problem after reading all of your posts (that were great ideas, but not the issue).
I have the "vbAdvance" add-in installed on both the source XP and...
-
This is a strange one. I've got a fairly simple console executable that looks up various things in a local Access database and prints it to the console (using Karl Peterson's MConsole.bas) and a...
-
I'm very happy to report that I was able to create a DLL from wqweto's project, without typing a line of code, and rolled this out to my VBA applications that were using WinHTTP. I only had to make...
-
Not sure where to continue this -- here or on Github.
Getting Subscript out of Range raised in cHttpReuest's Send subroutine. m_vLastError(1) = cHttpRequest.pvRecvBody
Tracing the code, the...
-
I'm running into some kind of parsing error when loading an XML document from an API call using VbAsyncSocket's cHttpRequest. It's duplicating the first 3389 to 3390 bytes, at least in this test...
-
Wow, dude -- this thing is great! This is basically a drop in replacement for winhttp, changing Option to Option_ and Method to Method_. I'm getting TLS1.3 to howmyssl in Windows XP now. Great...
-
The only code samples that works for me are \test\BareboneTls\Project1 and \test\BareboneTls\Project3
None of the samples in \test\Secure work and all come back with errors.
Project2 comes back...
-
Assuming this works, major kudos to you! I'm going to give it a shot today, as I'm having difficulty getting the XP machines to connect to a particular API today, and my original TLS program is also...
-
You finished it?! Awesome! Could you post example code that replaces what I've provided here?
-
That's a typo from old code I removed. Anywhere you see IMXMLServer, it should be XMLServer, which is declared right there. For example, if using Winhttp, it's this:
Set XMLServer =...
-
Excellent. This is a good alternative. Thanks!
-
That info is already in the thread. Was looking for a shortcut key. Thanks though.
-
Great resources, thanks. They all seem to indicate not possible without a third party add in.
-
So obvious, yet never entered my mind. Brilliant! :)
-
Is there a shortcut key for this instead, and sorry for reopening this ancient topic?
-
Yeah, I tried some of the JSON to XML converters I found, and they pretty much don't work for my needs. Plus, the vendor changed the names of many of the fields, and it's just easier to rewrite (now)...
-
Searched the thread but couldn't find the fact that you need a reference to "OLE Automation" in your project, if you intend on using this class outside of the test project, otherwise you'll get...
-
Oh wow, that is awesome! I've put myself on the watch list for when that wrapper is implemented. I suppose making a custom dll using your library would be trivial so this could be used in VBA for...
-
Not sure how crazy I am about Frankensteining this Vista installation, but knowing me, I might give it a shot. It would be easier than recoding my application, and it's only for me on this one...
-
Unfortunately, this doesn't work for me. Setting WinHttpRequestOption_SecureProtocols to 0 initially doesn't get me any connection results at all via WinHTTP. No matter how long I wait, testing...
-
Wow. What a great post! This was thorough and very well written. I will try this out on the Vista machine and report my results. Thanks for the detailed explanation!
-
Unfortunately, after several months, I need to revisit this topic, but this time for a Vista installation. Neither my original version of TLS nor vb6locked's is able to negotiate TLS 1.2 using...
-
That's good news!
The point of the lines you rem'd out, however, was to test TLS 1.2, then 1.1, then 1.0 to see what your system supports. It's odd that fails on Windows 7 as your registry...
-
Duplicate post content deleted. Wish this site allowed me to delete duplicate posts.
-
You're very welcome! I'm glad I could help out. Us old VB guys gotta stick together. :)
-
For the sake of completeness, attached is the final, cleaned up version of this TLS tester. It will tell you whether your system successfully negotiates a TLS 1.2 connection with the test server at...
-
Interesting that 9 is write-only despite the documentation. I know about the constants, and my actual code was already updated to use them. Still, no way to future proof this, though, which is...
-
Results in error 5, "Invalid procedure call or argument". Apparently, you can't actually read the value set in HttpRequestOption (in VB6 on XP anyway). Even this fails:
Dim...
-
Ah, very clever comment on the option! I'll try that and see if it performs incorrectly and report back.
As for setting those options on the MSXML objects, they don't exist -- which is why you...
-
It was, surprisingly, easy to convert my existing code in the actual application to use WinHTTP, which appears to work properly enforcing TLS 1.2 on all calls from XP POSReady and Windows 10 (the...
|
Click Here to Expand Forum to Full Width
|