use the ShellExecute API for that
VB Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Const SW_NORMAL = 1 Private Sub Command1_Click() ShellExecute Me.hwnd, "Open", "http://www.google.com", 0, "C:\", SW_NORMAL End Sub





Reply With Quote