• Web Browser from project

    Author
    Topic
    #353618

    I am writing a vb6 project that needs to have a user move to a web browser. Is there any way to start off IE but send it to a predetermined page rather than the default home page? I would rather use IE than the VB web browser form as the users will not be experienced and so need the familiar buttons / interface available to them.
    Will i still use the command
    “Shell (“C:Program FilesInternet ExplorerIEXPLORE.EXE”), vbMaximizedFocus” or is there a better way?

    Viewing 1 reply thread
    Author
    Replies
    • #517833

      I need to figure this out, too. My first instinct is to rely on Windows to deal with the application and Shell it the file name. But then you probably don’t have much control over window.

      When I get back to this project, I’m going to try just putting them together – program name space file name – to see what happens.

      There’s a KB article for IE4 that lists command-line switches, but no examples of how to combine them with the file name.

    • #517884

      Hi,
      Shell (“C:Program FilesInternet ExplorerIEXPLORE.EXE http://www.yahoo.com”), vbMaximizedFocus
      works from VBA (in Excel2k) so I guess it would work from VB6.
      Hope that helps.

    Viewing 1 reply thread
    Reply To: Web Browser from project

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: