Blogger Widgets
Hatsune Miku

widgets

Jumat, 09 Desember 2011

Membuat Browser With VB.6

Download Visual Basic Portable nya >>> Disini

Setelah Di download Kalian Extract Tuh
Klik 2x Visual Basic 6 Portable






Klik Reg Key , Trus Kilik yes 2x
















1.Setelah itu kilik Run Visual Basic 6
2.pilih standart.exe
3.Klik components/CTRL+T, dan cari component “Microsoft Internet Controls,” checklist dan klik “Apply” lalu “Close.”
4.Klik Comand Button 
dan buat 5 comand buttton
masing Beri nama 
-command 1GO (buat menelusuri Browser
-command 4 Forward            -Command 3 Back
-command 2 Stop
-commadn 5 Refresh
5.klik  Internet Controls (sesuaikan Dengan Browser Kamu)
6.buat 1 text box ini akan jadi URL bar
7.buatr 1 text box lagi ini akan jadi Loading Browser



CONTOH:

















Masukkan Code nya Ke form mu (klik 2x aja FORM mu)


Private Sub Command1_Click()
WebBrowser1.Navigate Text1.Text
WebBrowser1.SetFocus
End Sub


Private Sub Command2_Click()
WebBrowser1.Stop
End Sub


Private Sub Command3_Click()
WebBrowser1.GoBack
End Sub


Private Sub Command4_Click()
WebBrowser1.GoForward
End Sub


Private Sub Command5_Click()
WebBrowser1.Refresh
End Sub


Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
If Progress > 0 Then
Text2.Text = Progress & "/" & ProgressMax
End If
End Sub



Kalo sudah Selesai Jadiin Project dah
Klik File (di pojok Kiri atas)
Klik Make Project.exe
Jadi deh 

0 komentar:

Posting Komentar