HTTPS/Authenticated: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|Visual Basic}}: version info and optional proxy support added) |
||
Line 546: | Line 546: | ||
=={{header|Visual Basic}}== |
=={{header|Visual Basic}}== |
||
{{Libheader|Microsoft.WinHttp}} |
{{Libheader|Microsoft.WinHttp}} |
||
{{works with|Visual Basic|5}} |
|||
⚫ | |||
{{works with|Visual Basic|6}} |
|||
⚫ | |||
{{works with|VBA|Access 97}} |
|||
⚫ | |||
{{works with|VBA|6.5}} |
|||
⚫ | |||
{{works with|VBA|7.1}} |
|||
⚫ | |||
<lang vb>Sub Main() |
|||
⚫ | |||
⚫ | |||
' in the "references" dialog of the IDE, check |
|||
' "Microsoft WinHTTP Services, version 5.1" (winhttp.dll) |
|||
Const HTTPREQUEST_PROXYSETTING_PROXY As Long = 2 |
|||
#Const USE_PROXY = 1 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
#If USE_PROXY Then |
|||
HttpReq.SetProxy HTTPREQUEST_PROXYSETTING_PROXY, "10.167.1.1:80" |
|||
#End If |
|||
HttpReq.SetTimeouts 1000, 1000, 1000, 1000 |
|||
⚫ | |||
⚫ | |||
End Sub</lang> |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |