943,701 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Mar 5th, 2009
0

Re: Target a web link, help me please.

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
Reputation Points: 11
Solved Threads: 1
Newbie Poster
Ravi Kant is offline Offline
13 posts
since Jan 2009
Mar 5th, 2009
0

Re: Target a web link, help me please.

Your right (provided you use MSIE for all surfing)
My post would open the users preferred default browser instead.
That is the only difference.
Reputation Points: 22
Solved Threads: 5
Light Poster
javmedia is offline Offline
36 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Reading CSV Files
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Creating User Manual in Vb6 and Populating TreeView from Mysql database VB6





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC