Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing web page with login from VB

Status
Not open for further replies.

boinske

Programmer
Jul 24, 2000
1
US
I am learning how to automate access to web pages in VB6 using the OpenURL method of the INet control.  This works well, and I am able to pull pages down in my apps and parse out the data that I'm looking for.  I can access any page with this method, unless it requires a login (user ID and password).  I'm trying to figure out how to "fake" what the browser does when you enter this information while surfing normally.  I did manage to find a "TCP Viewer" utility that allows you to monitor data going back and forth over the connection, but it seems to behave unpredictably and I can't coax the behavior out of it that I need to see specifically what data is going back and forth during the login process at a typical web site.  (This IS a site to which I have authorized password access and know the password).  Any suggestions would help; a code snippet or working example would be great.<br><br>Thanks,<br><br>Don Boinske
 
If you place the username and password in the url in the following format then it should work <br><br>Username:password@Url<br><br><br>hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top