© PINOYGSM
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
how to make timer in VB6 HomeHomehow to make timer in VB6 I_icon_mini_faqLatest imagesRegisterLog in
This is the FIRST PINOY GSM forum in the Philippines. The Number "One PinoyGSM dot com" PINOY, Global System for Mobile communication (GSM) is a globally accepted standard for digital cellular communication. and security tools for the computer systems and networks. ^^^ PinoyGSM is the name of a standardization group. ^^^ Be One Of Us! PINOYGSM Forum. ^^^ We Are Hackers Who Would Go Beyond Technology ^^^
Google Maps
Like on Facebook
Time in Philippines
Who’s HACKER?
We’re Hiring toktok Driver

 

 how to make timer in VB6

Go down 
2 posters
AuthorMessage
Kaizer Opera
Administrator
Administrator
Kaizer Opera


Join Date : 2012-01-15
Location : krusty krub
Male Age : 34
Cell Phone # : marami
Posts : 477

how to make timer in VB6 Empty
PostSubject: how to make timer in VB6   how to make timer in VB6 I_icon_minitimeMay 4th 2012, 06:18

first open nyu ung VB6 nyu tapos lagay kayo ng isang LABEL,2command button, at isang timer

ung command1 palitan nyu ung caption ng START TIMER at sa command2 naman palitan nyu ung caption ng RESET

tapos click nyu ung timer tapos makikita nyu sa properties jan ung ENABLE jan nka TRUE yan.. gawin nyung FALSE at sa INTERVAL nya nka 0 (ZERO) yan.. palitan nyu 1000 oh kayo na bahala kung ganu kablis bsta 1000 pababa.. di ko lang alam qng 10 pwede.. hanggan 50 lang kasi ungnilalagay ko sa INTERVAL... at ung CAPTION naman ng LABEL natin palitan nyu 0 (ZERO). ok.. sa code na tau..


first click nyu ung COMMAND1 tapos lagay nyu to.. ecopy nyu lang..

Code:
If Timer1.Enabled = False Then
Timer1.Enabled = True
Command1.Caption = "Stop Timer"
Else
Timer1.Enabled = False
Command1.Caption = "Start Timer"
End If

papaliwanag ko kung bakit naging ganyan ung code nya.. first ung sa code natin Timer1.Enabled = false yan diba.. ung sa timer1 natin nka false un kaya pag ni click mo yang COMMAND1, ung timer natin bali papaganahin nya..at jan na papasok ung Timer1.Enabled = True at xempre ung COMMAND1 natin na nka START TIMER ung CAPTION magiging STOP TIMER na.. GETS??? hehehe kabaliktaran na yan pag pinindot nyu ulit ung COMMAND1 natin

ung sa COMMAND2 natin na nkapangalan na sa RESET double click nyu din.. lagay nyu to

Code:
Label1.Caption = 0

bali pag niclick nyu yan.. ung LABEL natin babalik sa 0 (ZERO) ung caption nya..un kung nka start xa.. pero kung hindi.. zero din.. hahaha

tapos sa TIMER naman natin lagay nyu to

Code:
Label1.Caption = Label1.Caption + 1

papasok sa code natin yang +1 pag nka run na ung project natin.. ung sa label caption natin na ZERO mag aadd at mag aadd xa ng isang number

napaliwanag ko ba ng maayos? hehehe eto magiging itsura sa project natin.. xenxa na panget eh.. nitamad aq mag aus


how to make timer in VB6 68wz1i

HIT THANKS JAN KUNG NAGUSTUHAN NYU bounce
Back to top Go down
http://www.www.www.haha.com
*Lorgan
Administrator
Administrator
*Lorgan


Join Date : 2012-01-13
Location : System32
Male Age : 36
Cell Phone # : 09206135761
Posts : 1087

how to make timer in VB6 Empty
PostSubject: Re: how to make timer in VB6   how to make timer in VB6 I_icon_minitimeMay 6th 2012, 05:34

kylangan pa natin ng visual basic 6 na installer pra mka gwa ng application soft..
Back to top Go down
http://cultech.webs.com
 
how to make timer in VB6
Back to top 
Page 1 of 1
 Similar topics
-
» how to make your own WEB BROWSER in VB6
» make your 1gig to 2 gig memory

Permissions in this forum:You cannot reply to topics in this forum
© PINOYGSM :: Programming-
Jump to: