AboutRichard Rost Expertise I can answer any questions pertaining to Microsoft Visual Basic 6.0, Microsoft Access VBA, and the Visual Basic Language in general. I do NOT use VB.NET or VB 2005/08 much yet, so don't ask me any questions specific to those. Also, please feel free to check the Tips & Tricks section of my web site for VB tips.
Education/Credentials I am a self-taught VB expert. I have been building software for clients since the early 90s (and on my own since I was a child). You can see a sample of my Tutorials on my web site at 599CD.com
Expert: Richard Rost Date: 7/6/2008 Subject: Click a Button On VB6 WebBrowser Automaticly
Question Hello, I am making a program where it automatically fills out a sign up form on a website in a vb6 web browser on my vb6 application.
So far I have for the login auto fill and submit is
WB.Document.All("user_name").Value = Text1.Text
WB.Document.All("password").Value = Text2.Text
(WB = webbrowser)
After those 2 lines of code, how can I get it to automatically click the login button?
Answer There is a .SUBMIT method to the WebBrowser object, I believe. It's been a while since I've done that.
Let me know if you have any other questions or comments.
P.P.S. I volunteer my time at AllExperts to help people, and I get a LOT of questions, so I can't take an hour to answer each question. If you need more DETAILED HELP, come to my TechHelp web site at http://www.599cd.com/TechHelp/AllExperts and I'll take as much time as you need to answer your question.