Results 1 to 4 of 4

Thread: Starting webpage from a VB app

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Location
    North Carolina
    Posts
    8

    Starting webpage from a VB app

    How can I start a webpage in a seperate browser such as IE from my VB app?

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Ask in VB questions next time... But search around for the ShellExecute API call. It will launch the item in question (ex. "http://www.vbforums.com/") with the assigned program (in this case, default browser).
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Location
    North Carolina
    Posts
    8
    Sorry to be so vague. I through this out there to see if I could get some other insiteful options. I've tried the ShellExecute API and it keeps bringing up Windows Explorer and opens it to the current app folder. Maybe I'm just not using it correctly?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    How are you using it? You need to pass to it the web address of the website you want to open. If you just give it a filename, it's going to open it from the app's directory.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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