You can connect to a webserver with the Winsock (ws) control and then send a http request to the server.

ws.Remotehost =<address>
ws.Remoteport=80

ws.connect

while ws.state <> sckConnected
doevents
wend

ws.senddata "get /" & nameofpage & " HTTP/1.0" & vbcrlf & vbcrlf


And then fetch the page in the Dataarrival event for the winsock control.

I'm not sure if i got all the syntax right, i wrote the code in my web brower.