![]() |
|
Jam Digital with Image List - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Visual Basic (VB) (https://hacker-newbie.org/forum-68.html) +---- Thread: Jam Digital with Image List (/thread-8150.html) Pages:
1
2
|
Jam Digital with Image List - skanking - 05-01-2011 Sebelum'a Download Dullu Neh Image'a Image Clock ok Langsung ajj...! Ane anggap dah pda tau s'mua cara ngebuka vb 6.0 Dan Pilih Standar exe. Yg Harus di sediakan..: 1.Form 1.picture box 1.timer 4.Lable 6.image Dengan ukuran (615x1215) 1.Image list dan surce code.. Ikuti langkah" Di bawah Ini,...! (*) 1.bikin 1 buah pictureBox 2.bikin 6 buah Image Seperti Di bawah Ini..! ![]() 3.bikin 4 Lable (Label1 dan 2 Ganti Caption'a Dengan :"titik 2" lalu setting Font'a Dan Untuk Label 3 Dan 4 Kosongkan Caption'a) Example:! ![]() 4.tekan Tombol Ctrl+T (Untuk Membuka components) Cari dan Centang Microsoft Windows Common Controls 6.0(SP6) Lalu OK..! 5.Klik Image list Di TollBox Sebelah kiri, Drag Ke From Menu 6.Klik kanan di Image list Image Lalu masukan Image yg barusan Di download Sesuai urutan awali dengan 1 dan akhiri dengan 0..! ![]() 7.Bikin 1Timer (Terserah mau di Taro Mna..!) 8.masukan surce code di bawah ini kedalam form..! Code: 'Surce code By.Loys4&3L1k
'Visit http://Skankingmyfams.co.cc
'About Me
'Loys3@Devilzhackerz.in
'Loys4@Hacker-Newbie.co.cz
Private Declare Sub SetWindowPos Lib "User32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)
Const HWND_TOPMOST = -1
Const SWP_NOACTIVATE = &H10
Const SWP_SHOWWINDOW = &H40
Private Sub Form_Load()
Label3.Caption = Time & " - " & Format(Date, "Long Date")
SetWindowPos hWnd, HWND_TOPMOST, Left / 15, Top / 15, Width / 15, Height / 15, SWP_NOACTIVATE Or SWP_SHOWWINDOW
Timer1.Interval = (1 - (Int(Timer) Mod 1)) * 1000
End Sub
Private Sub Timer1_Timer()
On Error GoTo Eror
Dim t As String, J1 As Integer, J2 As Integer, M1 As Integer, M2 As Integer, D1 As Integer, D2 As Integer
t = Time
If Len(Time) = 10 Then t = 0 & t
t = Replace(t, ":", "")
t = Replace(t, " ", "")
Label4.Caption = Right(t, 2)
t = Replace(t, "PM", "")
t = Replace(t, "AM", "")
J1 = Mid(t, 1, 1)
J2 = Mid(t, 2, 1)
M1 = Mid(t, 3, 1)
M2 = Mid(t, 4, 1)
D1 = Mid(t, 5, 1)
D2 = Mid(t, 6, 1)
ClockSet Image1, J1
ClockSet Image2, J2
ClockSet Image3, M1
ClockSet Image4, M2
ClockSet Image5, D1
ClockSet Image6, D2
Label3.Caption = Format(Date, "Long Date")
Exit Sub
Eror:
If Err = 13 Then MsgBox "This program will only work if you set 'Start, Settings, Control Panel, Regional Settings, Time, Time separator:' to ':' (colon).", 16, "Error"
Unload Form1
End Sub
Sub ClockSet(Img As Image, Number As Integer)
If Number = 0 Then Number = 10
Img.Picture = ImageList1.ListImages.Item(Number).Picture
End Sub![]() Ini Hasil Ane..! ![]() NB:Klo kurang Jelah Silakan Contact Me Untuk masalah Design Silakan Design Sendiri..! *Surce Boleh Copas Tpi Jng Lupa Pemilik'a Ea..! ![]() ![]() ![]()
RE: Jam Digital with Image List - nesta - 05-01-2011 wew ane coba dulu om, kalo di buat analog bijimana ya??
RE: Jam Digital with Image List - skanking - 05-01-2011 (05-01-2011, 11:23 AM)nesta Wrote: wew ane coba dulu om, kalo di buat analog bijimana ya??Silakan Bang..! Klo Di jadiin Analog Kurang Ngerti dah..! Ane ajj Maih Belajar omz..! RE: Jam Digital with Image List - schoot - 05-01-2011 nice share masbro
RE: Jam Digital with Image List - Katsukidaito - 05-01-2011 mantap nice share bang ![]() ijin nyoba dulu yaa
RE: Jam Digital with Image List - kidznapperz - 05-01-2011 wah itu tutornya buatnya keren bnged mas ![]() izin nyoba dulu kk buatnya... hoohohoho :) RE: Jam Digital with Image List - FL4T-uS - 05-01-2011 ![]() Sipplahhhh ... Poko kalo mau belajar mah emang gini ini lengkap tutornya
RE: Jam Digital with Image List - skanking - 05-01-2011 (05-01-2011, 12:34 PM)fL4T-uS|3mY Wrote: ya Bro..! RE: Jam Digital with Image List - Boyz_scorpio - 05-01-2011 nice tutor om..
RE: Jam Digital with Image List - captain_force - 05-01-2011 mantap..!! coba dulu ah |