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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me with TWebBrowser

Status
Not open for further replies.

Spent

Programmer
Mar 20, 2003
100
BG
On a Form I have a wbrowser:TWebBrowser .And I load an e-mail login site, for example mail.yahoo.com. Then the html code has a part <form name=Login_form action=post...> the username is placed in <input type=... name=usern> the password is in <input type=password name=pass> And there is a submit buton <input type=... name=Submit My Question is : Can You tell me in RUN-Time ,How to place the username and password stores in (var a,b:String) into the html and then invoke the event Clicking on the Submit button. Thanks To Anyone Who help me. Spent
 
Hi I dont think you can activate that button with Delphi and send those variables to next page(logged in) since it is an external web page, not yours. Not sure..

You should study some possibilities with IntraWeb or websnap.

I know that som page you can also logged in with URL
ex. url/username='bla'&password='bla'

then you could just
WebBrowser1.Navigate(WideString(link), Flags, Flags, Flags, Flags);

cheers, m
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top