Questions tagged [winhttprequest]

WinHttpRequest COM object is a part of Windows HTTP Services (WinHTTP). It enables the use of WinHTTP from Visual Basic and script languages.

WinHttpRequest COM object is a part of Windows HTTP Services (WinHTTP). It enables the use of WinHTTP from Visual Basic and script languages.

Read the WinHTTP Reference.

177 questions
0
votes
0 answers

C++ WinHTTP, can't get this to work

I want to use WinHTTP to do some HTTP requests. Really basic stuff, but WinHTTP seems to be kind of complex compared to what I actually just want to do. Well, I couldn't even get this example code from the msdn to…
Forivin
  • 14,780
  • 27
  • 106
  • 199
0
votes
1 answer

IWinHttpRequest fails with status code 407 even after SetCredentials for "www.google.com"

My system Browser (IE) is proxy authenticated. I tried to download "www.google.com" using IWinHttpRequest it fails with status code 407 ( Need Proxy Authentication ) even after setting the user name and password using SetCredentials(...) for…
0
votes
1 answer

PayPal PayFlowPro COMException 0x8000000A

We have some code that runs to connect to PayPal's PayFlowPro to update a credit card used within a recurring billing subscription. This code used to work fine under a .Net 2 app pool, but when we migrated it to 4.0 it's very touchy - sometimes it…
Scott Salyer
  • 2,165
  • 7
  • 45
  • 82
0
votes
2 answers

WinHttpReadData in Win32 app dont work properly

I use WinHTTP to get text from URL http://www.google.com/complete/search?output=toolbar&hl=vi&q=hoazzztf. The reponse text must be: but I get the reponse like this:                           Any idea? Thank! (Reponse text may contains…
NoName
  • 7,940
  • 13
  • 56
  • 108
0
votes
1 answer

How to turn a string value into a usable data from a serialized .xlsx file in excel using VBA

I have very limited experience with VBA and excel. So I have a server which generates reports in .xlsx format for users to download. I'm trying to have an excel macro grab the data from the generated report and insert it into the report…
B1NARY
  • 143
  • 3
  • 14
0
votes
1 answer

Mantis BT export request via "WinHttp.WinHttpRequest.5.1"

My boss asked me to export the corp's Mantis bugs database to Excel, but he can't give me access to the SQL Server, and the process has to be automated. The ONLY thing I can use is Excel (no ODBC, no manual export). So I managed to do this : Dim…
user155847
-1
votes
1 answer

AutoIT - winhttp.winhttprequest.5.1 MSXML2.XMLHTTP.6.0 large download fail

I have a problem with winhttp.winhttprequest.5.1 & MSXML2.XMLHTTP.6.0 for download large bin file. My code : ;Droit Admin #RequireAdmin ;Handler Error Global $__g_oHTTP_ErrorHandler = ObjEvent("AutoIt.Error", __HTTP_OnError) $local = @DesktopDir &…
-1
votes
2 answers

Read Local HTML File using WinHTTPRequest

I am trying the following code Sub myConSP() Dim oHtmlSP As HTMLDocument Dim tSPIndex As HTMLDivElement Dim tSPIdx As HTMLDivElement Dim tables As Object Set oHtmlSP = New HTMLDocument With…
YasserKhalil
  • 9,138
  • 7
  • 36
  • 95
-1
votes
2 answers

Winhttp .body.innerhml not as . Responsetext

I m using vba and i m able to scrape from web , get data , pur in Access or excel and so on.. I ve scraped Just a lot of Page on a intranet web using winhttp. Send get response text and surf trough . Body.innerhtml. Now in One and only Page i can…
Mao
  • 1
  • 6
-1
votes
1 answer

Directly write ADTG file to into MS Access table

This is the code I used to import MSSQLdatas. VBA generates complex and long query with unions, joins and any more. There create links to MSSQL tables not possible, because there SQL server and MS-ACCESS are different machines and connection only…
-3
votes
1 answer

SQL WinHttp.WinHttpRequest https request error

How to ignore SSL error (0x80072F7D) in SQL WinHttp.WinHttpRequest HTTPS request? EXEC @hr = sp_OASetProperty @win, 'Option' , '&H3300','4' EXEC @hr = sp_OASetProperty @win, 'Option' , 13056,4 Still the same error 0x80072F7D
-8
votes
1 answer

Proxy authentication required (http error 407) with WinHttpRequest and proxy with integrated Windows authentication and https

I'm trying to access an external website from my company network using WinHttpRequest from VBA. The company has a proxy server that requires integrated Windows authentication. The following code works if I try to access a URL with plain http, but I…
Shadow
  • 33,525
  • 10
  • 51
  • 64
1 2 3
11
12