how do I go to a website in vb?
meanining say i have a string
strWeb="http://www.yahoo.com"
Should I use shell on this ?
Jon
Printable View
how do I go to a website in vb?
meanining say i have a string
strWeb="http://www.yahoo.com"
Should I use shell on this ?
Jon
Shell ("c:\program files\internet explorer\iexplore.exe" & " " & rst("SPISite").Value)
Maybe you'd prefer this:
VB Code:
'General: Private Declare Function ShellExecuteAny Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As Any, ByVal lpDirectory As Any, ByVal nShowCmd As Long) As Long 'code Call ShellExecute (hWnd, "open", "http://www.mendhak.com/", vbNullString, vbNullString, 1)