Buat 1 Project dengan :
1 Label
Copy source code berikut pada Form :
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 Declare Function SetWindowPos Lib "user32" (ByVal h As Long, ByVal hb As Long, ByVal X As Long, _
ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal F As Long) As Long
Const SWP_NOMOVE = 2
Const SWP_NOSIZE = 1
Const flags = SWP_NOMOVE Or SWP_NOSIZE
Const HWND_TOPMOST = -1
Const HWND_NOTOPMOST = -2
Private Sub Label1_Click()
ShellExecute Me.hWnd, "Open", "http://Blog17Lamers.Blogspot.com", vbNullString, vbNullString, 3
End Sub
Suka Dengan Artikel Ini ?
Anda baru saja membaca artikel yang berkategori Pendidikan /
Visual Basic 6.0
dengan judul "Membuat Link Dari Visual Basic 6.0 Ke Internet". Anda bisa bookmark halaman ini dengan URL https://blog17lamers.blogspot.com/2013/04/membuat-link-dari-visual-basic-60-ke.html.