by .:Nar00w:. (3 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 10th July 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Makes a Link in u'r Vb App
API Declarations
Private Declare Function GetActiveWindow Lib "user32" () As Long
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
' give the label the url u want 2 visit
Me.WindowState = vbMinimized
ShellExecute GetActiveWindow(), "Open", label1.Caption, "", 0&, 1