Hi Stanley
This thread is a couple of months old, but anyway i hope to be helpful.
This is something I am currently doing too.
It's very simple. In VB6, you need to use a Microsoft Internet Transfer
Control, set some properties like the URL and then call the GetHeader
method and that's it. The rest is just string manipulation.
header = Inet1.GetHeader
The variable header shoud now have a value such as:
HTTP/1.1 401 Authorization Required
WWW-Authenticate: Basic realm="Linksys BEFW11S4 V4"
Content-type: text/html
Expires: Thu, 13 Dec 1969 10:29:00 GMT
Connection: close
Pragma: no-cache
good luck!
*** Sent via Developersdex
http://www.developersdex.com ***