Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jam Digital with Image List
#1
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..!
[Image: 2.jpg]
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:!
[Image: 4.jpg]
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..!
[Image: 5.jpg]
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
9.Test Dengan Menekan TomBO'OL F5..! Dan Lihat Hasil'a..!
[Image: 6.jpg]
Ini Hasil Ane..!
[Image: 7.jpg]
NB:Klo kurang Jelah Silakan Contact Me
Untuk masalah Design Silakan Design Sendiri..!

*Surce Boleh Copas Tpi Jng Lupa Pemilik'a Ea..!
BigsmileBigsmileBigsmileBigsmile
..:: I'm jusT A fool who Is LookIng for wAys to cleVer ::..

MyFacebook

[Image: skanking.gif]
Reply


Messages In This Thread
Jam Digital with Image List - by skanking - 05-01-2011, 11:19 AM
RE: Jam Digital with Image List - by nesta - 05-01-2011, 11:23 AM
RE: Jam Digital with Image List - by skanking - 05-01-2011, 11:30 AM
RE: Jam Digital with Image List - by schoot - 05-01-2011, 11:37 AM
RE: Jam Digital with Image List - by Katsukidaito - 05-01-2011, 11:56 AM
RE: Jam Digital with Image List - by kidznapperz - 05-01-2011, 12:33 PM
RE: Jam Digital with Image List - by FL4T-uS - 05-01-2011, 12:34 PM
RE: Jam Digital with Image List - by skanking - 05-01-2011, 03:52 PM
RE: Jam Digital with Image List - by Boyz_scorpio - 05-01-2011, 08:39 PM
RE: Jam Digital with Image List - by GUNAWAN - 05-02-2011, 12:16 AM
RE: Jam Digital with Image List - by agustambunan - 08-16-2012, 12:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Help_16 List tutorial VB UHD 0 935 01-05-2012, 05:22 PM
Last Post: UHD

Forum Jump:


Users browsing this thread: 2 Guest(s)