Untuk membuka link sebuah site dari program visual basic kita bisa menggunakan code
'Deklarasi
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
'Prosedur memanggil
Private Sub Command1_Click()
ShellExecute hWnd, "open", "http://google.com", vbNullString, vbNullString, Empty
End Sub
contoh project bisa di download di sini
Open Link di Visual Basic 6
Label: internet 0 komentarDiposting oleh Eko Purnomo di 03.24
Langganan:
Postingan (Atom)
Diseño e iconos por N.Design Studio | A Blogger por Blog and Web