PDA

Click to See Complete Forum and Search --> : Web Browser & Auto-Login


knightcon
Jan 27th, 2007, 09:11 PM
I am writing a piece of software which acts as a portal for a series of websites which require login by means of an online login form. What I want to know is if there is a way to manually send form field headers through the MS Web Browser OCX, or if there is a better way.

Settings

Field Names Received From Database
Username & Password Received From Database
Address Bar Is Hidden


Thanks Guy's

Nerd-Man
Jan 29th, 2007, 08:44 AM
knightcon i think first you need to sniff the network packets of the site where you have the form.. once you have the packets, you can put that on webbrowser control like below:

Private Sub Command1_Click()
WebBrowser1.Navigate ("http://www.yoursite.com/" & "loginstringhere")
End Sub

you can put that login string on a text box so that you can send whatever you want. to send username and password, take two text box and put them in the login string that you grab from packet sniffer.

anyway, hi all admins, mods and DigiRev.. sorry that i couldn't get online because i was in hospital for appendix removal.. hope you guys are doing well... :wave:

knightcon
Jan 29th, 2007, 08:04 PM
Thanks Nerd-Man, I new how that could be done, what I was after was how I can set the web browser ocx to automatically send a POST form field as a header, if at all possible, or how to send manual header fields through the OCX.