Dulu Saya Pernah Share Windows Media Player By Mufid
Nah Kali ini saya akan ngasih Source Codenya Langsung Aja Deh Di Download :
- Source Code [Download]
NB :
- Jangan Lupa ADD Facebook Saya | Click Here
Private Sub Form_Unload(Cancel As Integer)2. Form Menutup ke Kanan → Sama seperti Form menutup kebawah, akan tetapi Form menutup kearah kanan ini akan menutup Form berjalan kearah kanan
Do
Me.Top = Me.Top + 40
Me.Move Me.Left, Me.Top
DoEvents
Loop Until Me.Top > Screen.Height - 300
End Sub
Private Sub Form_Unload(Cancel As Integer)
Do
Me.Left = Me.Left + 40
Me.Move Me.Left, Me.Top
DoEvents
Loop Until Me.Left > Screen.Width
End Sub

_______________________________________________________________________________
Dim X(100), Y(100), Z(100) As Integer
Dim tmpX(100), tmpY(100), tmpZ(100) As Integer
Dim K As Integer
Dim Zoom As Integer
Dim Speed As Integer
Private Sub Form_Activate()
Speed = -1
K = 2038
Zoom = 256
Timer1.Interval = 1
For i = 0 To 100
X(i) = Int(Rnd * 1024) - 512
Y(i) = Int(Rnd * 1024) - 512
Z(i) = Int(Rnd * 512) - 256
Next i
End Sub
Private Sub Timer1_Timer()
For i = 0 To 100
Circle (tmpX(i), tmpY(i)), 5, BackColor
Z(i) = Z(i) + Speed
If Z(i) > 255 Then Z(i) = -255
If Z(i) < -255 Then Z(i) = 255
tmpZ(i) = Z(i) + Zoom
tmpX(i) = (X(i) * K / tmpZ(i)) + (Form1.Width / 2)
tmpY(i) = (Y(i) * K / tmpZ(i)) + (Form1.Height / 2)
Radius = 1
StarColor = 256 - Z(i)
Circle (tmpX(i), tmpY(i)), 5, RGB(StarColor, StarColor, StarColor)
Next i
End Sub
_______________________________________________________________________________
Untuk lebih jelasnya, Download Source Code Efek Star Motion Pada Form Di Visual Basic = Click HerePrivate Sub timer4_Timer() timer4.Interval = 200 Label1.Caption = Mid(Label1.Caption, 2, Len(Label1.Caption) - 1) + Mid(Label1.Caption, 1, 1) End Sub
Private Sub timer4_Timer() timer4.Interval = 200 Label1.Caption = Mid(Label1.Caption, Len(Label1.Caption), 1) + Mid(Label1.Caption, 1, Len(Label1.Caption) - 1) End Sub
Dim i As Long Dim merah, hijau, biru As Integer Private Sub Form_Load() i = 0 'Inisialisasi detik Timer1.Interval = 100 'Kalau 1000 biasanya lompat 1 detik Label1.Caption = "Contoh Label Kedap Kedip..." End Sub Private Sub Timer1_Timer() i = i + 1 If i = 1000000 Then i = 0 'Supaya tdk overflow, dsb... merah = Int(255 * Rnd) 'Bangkitkan angka random untuk merah hijau = Int(255 * Rnd) 'Bangkitkan angka random untuk hijau biru = Int(255 * Rnd) 'Bangkitkan angka random untuk biru Label1.ForeColor = RGB(merah, hijau, biru) 'Campur tiga warna If i Mod 2 = 0 Then 'Jika counter habis dibagi 2 Label1.Visible = True 'Tampilkan label Else 'Jika counter tidak habis dibagi 2 Label1.Visible = False 'Sembunyikan label End If 'Akhir pemeriksaanEnd Sub