3 Replies - 4421 Views - Last Post: 03 August 2010 - 12:26 PM Rate Topic: -----

#1 chkm8  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 84
  • Joined: 24-December 08

vb timer

Posted 03 August 2010 - 06:51 AM

gud day,

Im struggling with my system Internet system. I have a form which will
monitors the time of the user since he/she has log in
the system.
I know how to use the timer like a count down and also
a counter ex.
if lbltimer.caption < 20 then
{
	lbltimer.capation=lbltimer.caption + 1;

}



basically the code above add 1 to the value of the lbltimer
until it reaches to 20.

Now I don't know how to apply in time.
I mean, when the user log in the system
a form which has a timer shows.
so at first when it is showed up it looks like this
-0:00:00- then the timer starts up to when the user want
to log out

This post has been edited by born2c0de: 03 August 2010 - 09:40 AM
Reason for edit:: corrected the code tags.


Is This A Good Question/Topic? 0
  • +

Replies To: vb timer

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 465
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: vb timer

Posted 03 August 2010 - 07:23 AM

20 what minutes, seconds, hours ?
also take a look here how to use timers in vb6
http://www.vb6.us/tu...mer-control-vb6
Was This Post Helpful? 0
  • +
  • -

#3 chkm8  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 84
  • Joined: 24-December 08

Re: vb timer

Posted 03 August 2010 - 07:51 AM

View PostNoBrain, on 03 August 2010 - 06:23 AM, said:

20 what minutes, seconds, hours ?
also take a look here how to use timers in vb6
http://www.vb6.us/tu...mer-control-vb6

no , i used integer for that., just 20 whole number..: )
Was This Post Helpful? 0
  • +
  • -

#4 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 465
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: vb timer

Posted 03 August 2010 - 12:26 PM

well then the link will help you :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1