Results 1 to 2 of 2

Thread: Controling the Browser Form in VB6

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Toronto, Canada
    Posts
    43
    Hi guys...I'm working on a project that will provide links for the user when they need to do online research for stocks. I loaded the "frmbrowser" in VB6 but i don't know how to have the form automatically load the web site.

    How do i avoid having the user hit "enter"? is it possible?

    Also, is there a good reference site for manipulating the controls or properties for the form browser?

  2. #2
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    an idea

    Im shooting in the dark cause I dont have vb here, but if you go to components and add Microsoft Internet Controls, there is a Web Browser control.

    drop it on your form. it has a Navigate event that you can set to a url like so...

    Code:
    'In form load
    WebBrowser1.Navigate("http://www.vb-world.net")
    This will load vb-world's home page.

    You can add additional functionality using the click event of command buttons or labels to make the browser go to specific web sites using the same navigate event.

    That may help. Ive never used the "frmbrowser", though.

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