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
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.
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline:Reading CSV Files