I have problem, why does't work ?
Please!
Code:Private Sub Command1_Click()
Dim a As String
a = "http://www.yahoo.com"
Shell a, vbNormalFocus
End Sub
Printable View
I have problem, why does't work ?
Please!
Code:Private Sub Command1_Click()
Dim a As String
a = "http://www.yahoo.com"
Shell a, vbNormalFocus
End Sub
Refer
Or
Code:Shell "c:\Program Files\Internet Explorer\iexplore.exe http://www.google.com", vbNormalFocus
Code:Dim a As String
a = "http://www.yahoo.com"
Shell "explorer " & a, vbNormalFocus
I think it could be useful for you...
http://www.vbforums.com/showthread.php?t=233950
if you want the link to open in the default browser use the shellexecute API
there are many examples in this forum