Мой код открывает ссылку только в текущем окне.
- Код: Выделить всё
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_SHOW = 5
Private Sub Form_Load()
ShellExecute Form1.hwnd, "open", "http://vbcorner.narod.ru", 0, 0, SW_SHOW
End Sub