Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



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

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-01-2010
warehouse peon's Avatar
Member
 
Join Date: Aug 2006
Posts: 111
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...|
|===================|
Reply With Quote
  #2  
Old 02-01-2010
opaper's Avatar
Member
 
Join Date: May 2008
Posts: 2,362
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..!!
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #3  
Old 02-01-2010
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,299
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.
Reply With Quote
  #4  
Old 02-01-2010
absolute55's Avatar
Member
 
Join Date: Nov 2005
Posts: 1,238
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.
Reply With Quote
  #5  
Old 02-01-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
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.
Reply With Quote
  #6  
Old 02-01-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Open Internet Explorer with VB6 to a specific Web Site.??"
Thread Thread Starter Forum Replies Last Post
Internet explorer 8: not able to access a specific IP address Virendra 89 Technology & Internet 4 14-02-2011 07:49 PM
Open Windows Explorer to a specific folder Carl Windows XP Support 12 11-09-2009 04:16 PM
Internet explorer cannot open the internet site minky Windows Software 3 13-07-2009 12:17 PM
How To Block Specific Websites In Internet Explorer Itronix Tips & Tweaks 1 09-01-2009 09:01 PM
open ftp site in internet explorer Stefania C. Windows Server Help 2 02-04-2008 10:41 PM


All times are GMT +5.5. The time now is 04:19 AM.