Open Browser from VB.NET

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 2
Reputation: tkoopmi is an unknown quantity at this point 
Solved Threads: 0
tkoopmi tkoopmi is offline Offline
Newbie Poster

Open Browser from VB.NET

 
0
  #1
Dec 18th, 2008
I need to open IE from VB.net. I see the two most popular suggestions are:

. VB's Shell function (ShellExecute ??)
. COM "Microsoft Web Browser Control" reference

I can't get the Shell function to work, and the Browser control isn't listed in the COM references that can be added (I'm assuming it's not already a referenced component.

Any suggestions or alternatives?
Reply With Quote Quick reply to this message  
Join Date: Dec 2002
Posts: 461
Reputation: waynespangler is on a distinguished road 
Solved Threads: 56
waynespangler waynespangler is offline Offline
Posting Pro in Training

Re: Open Browser from VB.NET

 
0
  #2
Dec 18th, 2008
To open a url:
  1. Process.Start("www.google.com")

To open internet explorer:
  1. Process.Start("iexplore.exe")
Wayne

It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 2
Reputation: tkoopmi is an unknown quantity at this point 
Solved Threads: 0
tkoopmi tkoopmi is offline Offline
Newbie Poster

Re: Open Browser from VB.NET

 
0
  #3
Dec 19th, 2008
Thanks ... ran across that option after my post yesterday. I'll us it for now, but remains to be seen if I'll have control over browser opened in that manner:

. ultimately looking to retrieve data from a remote SQL database through an ASP page and import it to update a local database
. would like to do so with the retrieval running behind the scenes (will probably run this as a service) and don't want users of the local PC to see it happening

Would still like to try the Shell function or MS Web Browser Control navigate method, but the local process option you suggested will allow me to pull the data for now to set up the data manipulation.

Any additional help you can provide relative my last paragraph would be most appreciated.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC