Results 1 to 2 of 2

Thread: How can I control Web Browser from an app?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Posts
    4

    Post

    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

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    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
    [email protected]
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width