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 Sub Command1_Click() Dim OpenPage As Long OpenPage = ShellExecute(Form1.hwnd, "Open", "http://www.yahoo.com", 0&, 0&, 0&) End Sub




Reply With Quote