by Klemens Schmid (9 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(14 Votes)

This code shows how to perform an http GET or POST from your VB program using 6 different methods: xmlhttp (msxml), WinInet (dll), WinInet (ocx), WebBrowser control, AspHttp, AspTear. Some methods only run when you install the 3rd party components from their Web sites. There are hints in the code how to get them from the Internet.
To avoid difficulties with missing components use the project file HttpClient_LateBinding.vbp.
For more information and to get future updates please visit my Homepage.
Assumes
The code in the CUrl class makes heavily use of regular expressions and therefore you need a reference to the "Microsoft VBScript Regular Expressions 5.5".
Upload