membuat CommandButton vb6 menuju blog/web

DeathDeathDeathDeath
Pertama buka VB6.0 anda (jika belum ada bisa search di google)
Kedua pada menu "New Project" pilih "Standard EXE"
kemudian masukkan code berikut kedalam CommandButton
code :

OpenURL "http://ivant-to-ivank.blogspot.com", Me.hwnd 'http://ivant-to-ivank.blogspot.com bisa di ganti dengan website anda

Setelah itu buat 1modul baru dan isikan code berikut
code :

Public 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 Sub OpenURL(situs As String, sourceHWND As Long)
Call ShellExecute(sourceHWND, vbNullString, situs, vbNullString, vbNullString, 1)
End Sub



selesai dan coba dengan menekan F5


mohon maaf masih newbie KamsiaKamsiaKamsia

pembuat : ivanttoivank