winhttp

using winhttp to connect to a multihomed host when the first ip is bad.

im trying to confirm that the feature described here: http://msdn.microsoft.com/en-us/library/aa384066(VS.85).aspx WINHTTP_OPTION_CONNECT_RETRIES Sets or retrieves an unsigned long integer value that contains the number of times WinHTTP attempts to connect to a host. Microsoft Windows HTTP Services (WinHTTP) only attempt...

is WinINET reentrant?

I see that WinHTTP is not reentrant (1,2). Is WinINET reentrant? We have an ActiveX control that does synchronous HTTP with WinINET. If the browser (in javascript) fires an asynchronous http request (ajax) and then immediately calls the ActiveX operation (same IE process), it seems like the two operations are interleaving, perhaps reent...

WinHttp POST body not received

I'm sending a WinHttp request with POST data to a php script on an IIS7 server, and the POST body isn't being received by the server. If I send via WinHttp using GET, or POST with a NULL body, or through an HTML form using POST with a body, everything works as expected. Here's some simple code showing the difference between by WinHttp ...

Is there a standard Windows dialog for obtaining the proxy username and password?

Hi, I'm using WinHTTP to write an an app that needs access to the internet, and is potentially behind a proxy. Everything works (almost) out of the box is the user is on a domain, but if he or she isn't then I need a way to ask for credentials. Is there a standard way of doing that, or should I write my own dialog? Ideally I'd like som...

How do I upload a zip file via HTTP post using VBA?

This question has been asked many times by others in some form or another but most remained unanswered or the given answer is "Use C#, duh!", which incidentally, is a non-answer. ;-) I want to upload a zip file to a web server via VBA. The server side code already exists and works well; it accepts zip files via manual form upload and do...