VB Code:
  1. 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
  2.  
  3. Private Sub Command1_Click()
  4.    Dim OpenPage As Long
  5.      OpenPage = ShellExecute(Form1.hwnd, "Open", "http://www.yahoo.com",  0&, 0&, 0&)
  6. End Sub