PDA

Click to See Complete Forum and Search --> : How can I control Web Browser from an app?


jummai
Jul 14th, 1999, 09:35 PM
Hi,

I'm writing an VB App without the web browser control in the app. I'd like to control the user's default browser (IE or Netscape) to goto the specified page and automatically enter the information and submit it. How can I do that in VB?

TIA
Jummi

Aaron Young
Jul 15th, 1999, 12:57 AM
You could use the ShellExecute API to launch the default browser and send it to a specifi URL, then to enter information and send it, you could try SendKeys.

Example of ShellExecute
ShellExecute hWnd, "Open", "http://www.vb-world.net","","C:\",1



------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net