Sorce Code VB 6.0 [Get Tick Qount]

'=============================
'ini fungsi WinAPI nya...
'ditulis di bagian Declaration
'=============================
Private declare Function GetTickCount& Lib "kernel32" ()

'===============================================================
'otomatis menampilkan message box (pesan) ketika form di-load
'===============================================================
Private Sub Form_Load()
MsgBox "Komputer sudah berjalan selama  " & GetTickCount & "  Detik"
End Sub

Comments

fox's picture
Member since:
16 June 2010
Last activity:
4 days 11 hours

Kayaknya pernah liat ni kode., tp dmn ya?

Desperados's picture
Member since:
27 January 2010
Last activity:
3 days 3 hours

ini nanti akan tampil terus gitu pesannya..??
atw gmana..??

anharku's picture
Member since:
29 March 2009
Last activity:
10 hours 31 min

wagh ini gimana yagh artikel..hm...
sabar2..gpp buat latihan dulu kedepannya lebih bagus lg yah.. :D

[img]http://codenesia.com/sites/default/files/arthemia_logo.jpg[/img]

codenesia's picture
Member since:
24 February 2009
Last activity:
5 hours 14 min

wah judulnya salah juga juga...

DNZ's picture
Member since:
27 May 2009
Last activity:
1 week 3 days

sederhana bgt nigh...jangan langsung otomatis menampilkan message box (pesan) ketika form di-load, lebih bagus lagi kalo di munculkan pada sebuah form dengan sebuah tombol atau button hehehe..biar lebih aplikatif gicchuu...

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
         __   _             
___ / _| | | _ __ ___
/ __| | |_ | | | '_ ` _ \
\__ \ | _| | | | | | | | |
|___/ |_| |_| |_| |_| |_|
Enter the code depicted in ASCII art style.