Results 1 to 6 of 6

Thread: How to Open Internet Explorer with VB6 to a specific Web Site.??

  1. #1
    Join Date
    Aug 2006
    Posts
    114

    How to Open Internet Explorer with VB6 to a specific Web Site.??

    Can anyone tell me how to open the Internet Explorer with Visual Basic 6.0?? Suppose I want to open the Google Website by Internet Explorer with the Visual Basic 6.0, how can I do that.?? Since I am very new to the VB, please guide me properly. Thanks In Advance...
    |===================|
    |YAY if that made sense...|
    |===================|

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    Re: How to Open Internet Explorer with VB6 to a specific Web Site.??

    Even I am knew to the Visual Basic. But I know how to open the Internet Explorer using the Visual Basic. All you can do use the following :
    Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE". This will lead you to the internet explorer. But even I don't know how to open the specific site. Hoping that I would too get the help from here..!!

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to Open Internet Explorer with VB6 to a specific Web Site.??

    The VB code for the opening the Internet Explorer with a specific site is mentioned below :
    Shell " C:\Program Files\Internet Explorer\IEXPLORE.EXE www.google.com " .
    By doing this you can go to the Google.com web site. Hope that this will help you both (warehouse peon & opaper).
    Last edited by Reegan; 02-01-2010 at 06:11 PM.

  4. #4
    Join Date
    Nov 2005
    Posts
    1,323

    Re: How to Open Internet Explorer with VB6 to a specific Web Site.??

    Yes, you can use the
    Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE desired website" in VB to open the particular page. And the advantage of the module is that it will search for the path if it is not situated in the default directory for whatever reason.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: How to Open Internet Explorer with VB6 to a specific Web Site.??

    You can also do the following steps to open a specific site on an Internet Explorer :
    VB CODE :
    • dim IE as object
    • set IE = CreateObject("internetexplorer.application")
    • IE.visible = true
    • IE.navigate "URL HERE"

    Hope that this code will also redirect you to the particular page.

  6. #6
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How to Open Internet Explorer with VB6 to a specific Web Site.??

    I think that the VB code mentioned by the Zecho will not give some people the results they desire if the are using cookies or it's a secure site. Launching through Shell or ShellExecute will create a new Internet Explorer Process each time you launch it. So I think that using
    Shell " C:\Program Files\Internet Explorer\IEXPLORE.EXE URL "
    will be the best option.

Similar Threads

  1. Replies: 7
    Last Post: 02-12-2011, 07:16 AM
  2. Internet explorer 8: not able to access a specific IP address
    By Virendra 89 in forum Technology & Internet
    Replies: 4
    Last Post: 14-02-2011, 07:49 PM
  3. Internet explorer cannot open the internet site
    By minky in forum Windows Software
    Replies: 3
    Last Post: 13-07-2009, 11:17 AM
  4. How To Block Specific Websites In Internet Explorer
    By Itronix in forum Tips & Tweaks
    Replies: 1
    Last Post: 09-01-2009, 09:01 PM
  5. open ftp site in internet explorer
    By Stefania C. in forum Windows Server Help
    Replies: 2
    Last Post: 02-04-2008, 09:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,919,938.84647 seconds with 16 queries