Target a web link, help me please.

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2009
Posts: 13
Reputation: Ravi Kant is an unknown quantity at this point 
Solved Threads: 1
Ravi Kant's Avatar
Ravi Kant Ravi Kant is offline Offline
Newbie Poster

Re: Target a web link, help me please.

 
0
  #11
Mar 5th, 2009
cguan_77 has written the right code for this. Use his code in this way : -

Private Sub Command1_Click()
Dim txturl As String
txturl = "http://www.google.com"
Shell "C:\Program Files\Internet Explorer\IExplore.exe " & txturl, vbMaximizedFocus
End Sub
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 36
Reputation: javmedia is an unknown quantity at this point 
Solved Threads: 5
javmedia javmedia is offline Offline
Light Poster

Re: Target a web link, help me please.

 
0
  #12
Mar 5th, 2009
Your right (provided you use MSIE for all surfing)
My post would open the users preferred default browser instead.
That is the only difference.
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 Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC