How can i add a link to a website in my vb standard exe
Printable View
How can i add a link to a website in my vb standard exe
Add a label and make its forecolor blue and underlined. And add this:
Code: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
Public Const SW_SHOWNORMAL = 1
ShellExecute Me.hwnd, vbNullString, "http://www.site.com", vbNullString, "c:\", SW_SHOWNORMAL