Tampilkan postingan dengan label source code. Tampilkan semua postingan
Tampilkan postingan dengan label source code. Tampilkan semua postingan

Jumat, 25 April 2014

langsung aja ya :) lagi males ngetik
objek yang di pakai adalah
* 1 comand button
* microsoft common dialog control 6.0 (SP6) "tambahkan komponennya
jika tidak tahu caranya klik CTRL+T"
* Windowsmediaplyaer1 " tambahkan komponennya juga"
* jika sudah klik 2 kali di command1
* tulis coding sebagai berikut :


Private Sub Command1_Click()
CommonDialog1.Filter = "*.wmv|*.MP4"
CommonDialog1.ShowOpen
WindowsMediaPlayer1.URL = CommonDialog1.FileName
End Sub

berikut contoh program yang ane buat


semoga bermanfaat :) thanks




dari pada ane suntuk lebih baik ane share tutorial :D bener gak bro :p
nah pada masalah ini kita akan membuat taks manager dengan vb6 emang bisa ya bro ???? :p ya jelas bisa lah nama nya juga program selalu bisa :p
oke deh sekarang kita langsung aja ya lagi males ngetik ane =))
alat dan bahan :

  • 1 buah form 
  • 5 comand button
  • 1 listbox
  • 1 timer
sekarang atur masing masing sesuai selera anda ya :D =))
lihat bagian ini :

Caption name
Properties cmdProperties
Ignore Safe List cmdIgnoreSL
Move To Safe List cmdMoveSL
Terminate cmdTerminate
View Safe List cmdViewSL

pada bagian timer & listbox bagian name  lihat di sini

Caption name
timer1 tmrlist
listbox1 lstProcesses

sekarang masukan source code nya di bagian form

' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Option Explicit
Const MAX_PATH& = 260
Const SNAPPROCESS As Long = 2&
Const SEE_MASK_INVOKEIDLIST = &HC
Const SEE_MASK_NOCLOSEPROCESS = &H40
Const SEE_MASK_FLAG_NO_UI = &H400
Const STANDARD_RIGHTS_REQUIRED As Long = &HF0000
Const PROCESS_TERMINATE As Long = (&H1)
Const GWL_WNDPROC = (-4)
Const PM_REMOVE = &H1
Const MOD_ALT = &H1
Const MOD_CONTROL = &H2
Const MOD_SHIFT = &H4
Const WM_HOTKEY = &H312
Private Declare Function ShellExecuteEX Lib "shell32.dll" Alias "ShellExecuteEx" (SEI As SHELLEXECUTEINFO) As Long
Private Declare Function ProcessFirst Lib "kernel32" Alias "Process32First" (ByVal hSnapshot As Long, uProcess As PROCESSENTRY) As Long
Private Declare Function ProcessNext Lib "kernel32" Alias "Process32Next" (ByVal hSnapshot As Long, uProcess As PROCESSENTRY) As Long
Private Declare Function CreateToolHelpSnapshot Lib "kernel32" Alias "CreateToolhelp32Snapshot" (ByVal lFlags As Long, lProcessID As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Private Declare Function OpenProcess Lib "kernel32.dll" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Private Declare Function TerminateProcess Lib "kernel32.dll" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long
Private Declare Function GetAsyncKeyState Lib "user32.dll" () As Long
Private Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal MSG As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Declare Function RegisterHotKey Lib "user32" (ByVal hWnd As Long, ByVal id As Long, ByVal fsModifiers As Long, ByVal vk As Long) As Long
Private Declare Function UnregisterHotKey Lib "user32" (ByVal hWnd As Long, ByVal id As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function PeekMessage Lib "user32" Alias "PeekMessageA" (lpMsg As MSG, ByVal hWnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long
Private Declare Function WaitMessage Lib "user32" () As Long
Private Type PROCESSENTRY
    Size As Long
    Usage As Long
    ProcessID As Long
    DefaultHeapID As Long
    ModuleID As Long
    Threads As Long
    ParentProcessID As Long
    PriClassBase As Long
    Flags As Long
    ExeFile As String * MAX_PATH
End Type
Private Type SHELLEXECUTEINFO
    Size As Long
    Mask As Long
    hWnd As Long
    Verb As String
    File As String
    Parameters As String
    Directory  As String
    Show  As Long
    InstApp As Long
    IDList  As Long
    Class  As String
    KeyClass As Long
    HotKey As Long
    Icon As Long
    Process  As Long
End Type
Private Type POINTAPI
    X As Long
    Y As Long
End Type
Private Type MSG
    hWnd As Long
    Message As Long
    wParam As Long
    lParam As Long
    Time As Long
    Pt As POINTAPI
End Type
Dim strstr As String
Dim SafeList() As String
Dim SLEnabled As Boolean
Dim Processing As Boolean

Private Sub cmdExit_Click()
End
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub cmdIgnoreSL_Click()
If cmdIgnoreSL.Caption = "&Ignore Safe List" Then
    cmdIgnoreSL.Caption = "&Hide Safe List"
Else
    cmdIgnoreSL.Caption = "&Ignore Safe List"
End If
SLEnabled = Not SLEnabled
GetList
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub cmdMoveSL_Click()
If Len(lstProcesses.Text) = 0 Then Exit Sub
ReDim Preserve SafeList(UBound(SafeList) + 1)
SafeList(UBound(SafeList)) = lstProcesses.Text
GetList
If lstProcesses.ListCount Then lstProcesses.ListIndex = 0
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub cmdTerminate_Click()
Dim Process As PROCESSENTRY
Dim ProcessFound As Long
Dim Snapshot As Long
Dim ExeName As String
Dim AppCount As Integer
Dim NLoc As Integer
Dim CurrFile As String
Dim Count As Integer
Dim PrevProcessID As Long
Process.Size = Len(Process)
Snapshot = CreateToolHelpSnapshot(SNAPPROCESS, 0&)
ProcessFound = ProcessFirst(Snapshot, Process)
CurrFile = lstProcesses.Text
lstProcesses.Clear
Do While ProcessFound
    NLoc = InStr(1, Process.ExeFile, Chr(0))
    ExeName = LCase$(Left$(Process.ExeFile, NLoc - 1))
    ProcessFound = ProcessNext(Snapshot, Process)
    If ExeName = CurrFile Then
        KillProcess PrevProcessID
        GetList
        Exit Sub
    End If
    PrevProcessID = Process.ProcessID
Loop
If lstProcesses.ListCount Then lstProcesses.ListIndex = 0
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub cmdViewSL_Click()
Dim Count As Integer
Dim SL As String
For Count = 0 To UBound(SafeList)
    If Len(SL) Then
        SL = SL & vbNewLine & SafeList(Count)
    Else
        SL = SafeList(Count)
    End If
Next Count
MsgBox SL
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub Form_Load()
Dim SL As String
Dim Count As Integer, Index As Integer
Open App.Path & "/SAFELIST.dat" For Binary As #1
    SL = String(LOF(1), vbNullChar)
    Get #1, , SL
Close #1
For Count = 1 To Len(SL)
    If Mid$(SL, Count, 2) = vbNewLine Then Index = Index + 1
Next Count
ReDim SafeList(Index)
For Count = 0 To Index - 1
    SafeList(Count) = Left$(SL, InStr(1, SL, vbNewLine) - 1)
    SL = Right$(SL, Len(SL) - Len(SafeList(Count)) - 2)
Next Count
SafeList(Count) = SL
SLEnabled = True
GetList
Processing = True
RegisterHotKey Me.hWnd, &HBFFF&, MOD_CONTROL Or MOD_ALT, vbKeyP
Me.Show
ProcessMessages
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub GetList()
Dim Process As PROCESSENTRY
Dim ProcessFound As Long
Dim Snapshot As Long
Dim ExeName As String
Dim AppCount As Integer
Dim NLoc As Integer
Dim CurrFile As String
Dim Count As Integer
Process.Size = Len(Process)
Snapshot = CreateToolHelpSnapshot(SNAPPROCESS, 0&)
ProcessFound = ProcessFirst(Snapshot, Process)
CurrFile = lstProcesses.Text
lstProcesses.Clear
Do While ProcessFound
    NLoc = InStr(1, Process.ExeFile, Chr(0))
    ExeName = LCase$(Left$(Process.ExeFile, NLoc - 1))
    ProcessFound = ProcessNext(Snapshot, Process)
    If SLEnabled Then
        For Count = 0 To UBound(SafeList)
            If SafeList(Count) = ExeName Then GoTo SkipDisp
        Next Count
    End If
    lstProcesses.AddItem ExeName
SkipDisp:
Loop
For Count = 0 To lstProcesses.ListCount - 1
    If lstProcesses.List(Count) = CurrFile Then lstProcesses.ListIndex = Count
Next Count
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran
Sub ShowFileProperties(File As String)
    Dim SEI As SHELLEXECUTEINFO
    With SEI
        .Size = Len(SEI)
        .Mask = SEE_MASK_NOCLOSEPROCESS Or SEE_MASK_INVOKEIDLIST Or SEE_MASK_FLAG_NO_UI
        .Verb = "Properties"
        .File = File
    End With
    ShellExecuteEX SEI
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub cmdProperties_Click()
If Len(lstProcesses.Text) Then ShowFileProperties lstProcesses.Text
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Private Sub Form_Terminate()
Processing = False
UnregisterHotKey Me.hWnd, &HBFFF&
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran
Private Sub Form_Unload(Cancel As Integer)
End
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran
Private Sub tmrGetList_Timer()
GetList
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran
Private Function KillProcess(ByVal ProcessID As Long) As Boolean
Dim Process As Long
Const RIGHTS_FLAGS = STANDARD_RIGHTS_REQUIRED Or PROCESS_TERMINATE
Process = OpenProcess(RIGHTS_FLAGS, 0&, ProcessID)
If Process Then
    If TerminateProcess(Process, 0&) Then
        KillProcess = True
    End If
    Call CloseHandle(Process)
End If
End Function
Private Sub ProcessMessages()
Dim Message As MSG
Do While Processing
    WaitMessage
    If PeekMessage(Message, Me.hWnd, WM_HOTKEY, WM_HOTKEY, PM_REMOVE) Then
        Me.Visible = True
    End If
    DoEvents
Loop
End Sub
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

dan sekarang coba di jalan kan lihat hasil nya
ini contoh program ane :

bagi yang mau download source code nya :

https://www.dropbox.com/s/d3dpfr5va15kigx/taksmanager-visualbasicku.rar

 semoga bermanfaat ^_^ untuk mendapatkan tutorial terbaru bisa follow Saya :)





waaaah judul nya berbau alay neh :p hahahahhaa sesuai saja bro nama nya juga alay generator :v
jadi buat kalian yang mau jadi alay alay bisa mencoba nya
oke let's go bro :D
alat yang di butuh kan

  •  visual basic 6 ( saya saran kan pake yang full )
  • rokok dan kopi ( biar enak bikin program nya )
  • 1 buah form 
  • 1 buah module
  • 2 text box
  • 1 comand button
sekarang 1 form sudah di buat atur posisi komponen lain nya sesuai selera anda :p
sekarang 1 module di isi source code berikut ini
 
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran
Public Function Alay(ByVal Str As String) As String
Dim s As String, h As String, i As Integer
Str = LCase(Str)
For i = 1 To Len(Str)
s = Mid(Str, i, 1)
Select Case s
Case "a": s = "4@"
Case "b": s = "8"
Case "c": s = "Ç"
Case "d": s = "Ð"
Case "e": s = "3"
Case "g": s = "9"
Case "i": s = "1"
Case "n": s = "Ñ"
Case "o": s = "0"
Case "p": s = "Þ"
Case "s": s = "$§5"
Case "t": s = "7"
Case "u": s = "ù"
Case "x": s = "×"
Case "y": s = "¥"
Case Else: s = IIf(CInt(Rnd * 1) = 0, UCase(s), s)
End Select
' visit me www.visual-basicku.blogspot.com
' free download software & source code visual basic
' add my facebook http://facebook.com/bang.hambran

Randomize
h = h & Mid(s, CInt(Rnd * (Len(s) - 1)) + 1, 1)
Next
Alay = h
End Function 

nah kalau sudah pada comand button di klik 2 x ya
isi kan source code berikut ini :

Text2.Text = Alay(Text1.Text) 

oke sekarang coba di tekan f5 buat run program
monggo di kembangkan source code nya ^_^ happy coding keep share bro :D


karena dulu ada yang pernah minta buatin inject ssh :D sekarang ane bagi aja source code nya :)
di sini source code ini bisa di kembangkan lagi kebanyakan emang banyak para phreaker :p menggunakan delphi jadi ane buat pake vb6 aja memang banyak bertebaran di google ...
nah buat kalian yang ingin selalu ingin update bug host pada bagian ini

Private Sub Form_Load()
dataInject = "HEAD http://wap.indosat.com/ HTTP/1.1" & vbCrLf & "Host: wap.indosat.com" & vbCrLf & vbCrLf
End Sub

pada bagian http://wap.indosat.com/ & wap.indosat.com di ganti bug host kalian
dan bagian ini di ganti sama ip provider nya

If sockProxy(Index).State = 0 Then
    sockProxy(Index).RemoteHost = "10.19.19.19"
    sockProxy(Index).RemotePort = 8080
    sockProxy(Index).Connect
End If

pada ip 10.19.19.19 & port 8080 anda ganti sesuai provider nya
dan sekarang anda coba build menjadi exe semoga bermanfaat
ini contoh program yang saya buat

untuk download source code bisa di sini :
https://www.dropbox.com/s/hdbh4qmko6aaigq/inject-ssh-indosat.rar


:D neh buat para hacker kek ddoser kek yang mau bikin tools ddos sendiri in source code dah lama banget jadi saya buat kan source code nya :p bagi yang berminat bisa langsung download 
 


link : https://www.dropbox.com/s/fm1kxjzt9zarz0e/TCP-ddos.rar





selamat sore semua :) heheheh saya lagi iseng neh mau share tutorial tentang source code visual basic lagi  :D
bagi kalian yang mau mencoba source code nya bisa di lihat seperti gambar ini :x



nah sekarang coba bagi kalian yang mau mencoba bisa langsung download
download : 
https://www.dropbox.com/s/ifckel6ck4jzh3p/ip-checker.rar


Kamis, 24 April 2014

assalamualaikum :)
kali ini saya mau berbagi lagi neh tentang membuat browser mini dengan visual basic 6
yuk kita langsung buat aja :ngakak
componen yang di butuh kan adalah :

- 1 from
- 4 comand button
- 1 textbox
- 1 Microsoft Internet Controls

ok sekarang cara pembuatan nya adalahan : 

buka project kalian 
dan buat 4 from : dan propertis caption comandbutton nya adalah : Go , Back ,  Refresh , Forward 
contoh gambar seperti ini 

dan sekarang anda tambah kan 1 textbox anda atur saja letak nya sesuai selera anda 
tambahkan componen Microsoft Internet Controls cara nya tekan CTRL + T 
bila sudah ketemu klik Microsoft Internet Controls dan aply 
contoh nya seperti ini


bila sudah akan ada icon browser seperti ini 



nah seperti itu oh iya sekarang pada caption comandbutton nya ubah name nya sesuai nama seperti di atas
Ubah captions sesuai urutan yaitu Cmdgo, Cmdback, CmdForward, dan CmdRefresh
 contoh seperti ini ; 


  

inget harus sesuai gambar :) 
dan sekarang kita ke coding nya : 
Klik 2x comandbutton Back lalu isikan ini : WebBrowser1.GoBack
Klik 2x comandbutton Go lalu isikan ini : WebBrowser1.Navigate (Text1.Text)
Klik 2x comandbutton Refresh lalu isikan ini : WebBrowser1.Refresh
Klik 2x comandbutton Forward lalu isikan ini : WebBrowser1.GoForward

cara nya seperti ini  




inget harus seperti itu ya gan klik 2 x sesuai coding nya dan comanbutton nya :)
pada textbutton kosongkan aja text nya :)
Berikut adalah membuat suatu URL menjadi HomePage kita 


  
Private Sub Form_Load()
WebBrowser1.Navigate ("http://visual-basicku.blogspot.com/")
End Sub

oke sekian dulu dari saya sekian dan terima kasih kalau copas jangan lupa sumber bro cape tau ngetik hargai orang lain :D:seram





Berikut Ini Adalah source code yang ane buat dengan judul screen capture di vb6 =))
laaah dari pada ribet ribet bikin aplikasi kan tinggal pencet print screen di keyboard beres bro ?
inti nya kan kita buat belajar vb6 :)) jadi belajar dari awal :D =))
monggo yang mau download source code nya  : klik di sini bro 
password RAR :
www.visual-basicku.blogspot.com





Source code untuk membuat Form agar tidak bisa di Maximize.
Tombol Maximize pada Form di Disable sehingga Form tersebut tidak bisa di Maximize.
Buat 1 Project dengan :
1 Form
Copy source code berikut pada Form :

Private Const GWL_STYLE = (-16)
Private Const WS_MAXIMIZEBOX = &H10000

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
        (ByVal hwnd As Long, ByVal nIndex As Long, _
        ByVal dwNewLong As Long) As Long

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _
        (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Sub Form_Load()
Dim lStyle As Long

    'disable MAXIMIZE button
    lStyle = GetWindowLong(Me.hwnd, GWL_STYLE)
    lStyle = lStyle And Not WS_MAXIMIZEBOX
    Call SetWindowLong(Me.hwnd, GWL_STYLE, lStyle)
End Sub

Semoga Bermanfaat
Source code untuk membuat Form agar tidak bisa di Resize.
Tombol Resize pada Form di Disable sehingga Form tersebut tidak bisa di Resize.
Buat 1 Project dengan :
1 Form
Copy source code berikut pada Form :

Private Const GWL_STYLE = (-16)
Private Const WS_THICKFRAME = &H40000
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
        (ByVal hwnd As Long, ByVal nIndex As Long, _
        ByVal dwNewLong As Long) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _
        (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Private Sub Form_Load()
Dim lStyle As Long
    lStyle = GetWindowLong(Me.hwnd, GWL_STYLE)
    lStyle = lStyle And Not WS_THICKFRAME
    Call SetWindowLong(Me.hwnd, GWL_STYLE, lStyle)
End Sub


semoga bermanfaat




Source code untuk membuat Form agar tidak bisa di Close.
Tombol Close pada Form di Disable sehingga Form tersebut tidak bisa di Close.
Buat 1 Project dengan :
1 Form
Copy source code berikut pada Form :



    Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long
    Private Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long
    Public Sub DisableCloseBtn(ByVal Frm As Form)
    Dim h As Long
    h = GetSystemMenu(Frm.hwnd, 0)
    RemoveMenu h, 6, &H400
    RemoveMenu h, 5, &H400
    End Sub
    Private Sub Form_Load()DisableCloseBtn MeEnd Sub


Semoga Bermanfaat

Contoh source code berikut untuk membuat kalimat berjalan pada label di form.
Buat 1 project dengan :
1 Form
1 Timer (set interval = 100)
1 Label

Copy source code berikut pada Form :


    Dim counter As Integer
    Private Sub Timer1_Timer()
        Dim Kalimat As String
        Kalimat = "Ini adalah contoh kalimat berjalan"
        counter = counter + 1
        DoEvents
        Label1.Caption = TulisJalan(counter, Kalimat, 30)
    End Sub
    Public Function TulisJalan(hitung As Integer, strKalimat As String, _
                               Panjang As Integer)
      If hitung = Len(strKalimat) + Panjang Then
         hitung = 0
      ElseIf hitung > Len(strKalimat) Then
         TulisJalan = strKalimat & Space(hitung - Len(strKalimat))
      Else
         TulisJalan = Mid(strKalimat, 1, hitung)
      End If
    End Function

sekian dari ane semoga bermanfaat





Source code berikut untuk membuat Link pada CommandButton Visual Basic 6.0.
Pada menu "New Project" pilih "Standard EXE"
Buat 1 Project dengan :
1 Command Button
1 Modul
Copy code dibawah ini dan Paste code tersebut di dalam CommandButton

Private Sub Command1_Click()
OpenURL "http://visual-basicku.blogspot.com", Me.hWnd
End Sub
Copy code dibwah ini dan Paste code tersebut didalam Modul
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  

sekarang di lihat hasil nya semoga berhasil :D



Waaah Ini Postingan Pertama Ane Ya hahahaha begini bro sesuai judul neh karena ada yang minta buatin tutorial ini jadi ane buatin tentang membuat youtube video viewer menggunakan visual basic 6
sebenarnya mudah sekali hanya dibutuhkan pengetahuan tentang link youtube baik yang dari www.youtube.com/watch?v= atau dari www.youtube.com/v/ dari dua metode ini semuanya dapat digunakan menjadi aplikasi youtube viewer dengan visual basic 6.
oke langsung aja yuukk kita buat ke TKP =))
 Buat Dulu 1 Form ya kalau udah siapkan komponen nya seperti di bawah ini

  1. 1 shockwave rename menjadi sock
  2. 1 label dengan caption Video ID
  3. 1 text
  4. 1 button
oke atur sesuka mu :) kalau sudah masukin ini source code nya klik 2 x pada form lalu masukan code di bawah ini


Private Sub Command1_Click()
sock.Movie = "http://youtube.com/v/" & Text1 & "?autoplay=1"
sock.Play
End Sub


 ini contoh aplikasi yang sudah saya buat hasil nya seperti ini

oke sekian dulu dari saya semoga tutorial ini bermanfaat buat kalian :)