Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,538 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,783 people online right now. Registration is fast and FREE... Join Now!




timer when you click starts?

 
Reply to this topicStart new topic

timer when you click starts?

koolazngy94
12 Aug, 2008 - 01:03 PM
Post #1

New D.I.C Head
*

Joined: 29 Jul, 2008
Posts: 22

I make a button, i click on it n it will start counting. Is there a way to do that?
User is offlineProfile CardPM
+Quote Post

jacobjordan
RE: Timer When You Click Starts?
12 Aug, 2008 - 04:05 PM
Post #2

class Me : Perfection
Group Icon

Joined: 11 Jun, 2008
Posts: 1,166



Thanked: 32 times
Dream Kudos: 1625
My Contributions
1. Put a timer on your form.

2. Put a button on your form.

3. Add a click event for your button.

4. In that click event, type
vb
Timer1.Enabled = True

User is offlineProfile CardPM
+Quote Post

Locke37
RE: Timer When You Click Starts?
12 Aug, 2008 - 08:31 PM
Post #3

I'm not a thief...I prefer the term TREASURE HUNTER!
Group Icon

Joined: 20 Mar, 2008
Posts: 1,031



Thanked: 41 times
Dream Kudos: 325
My Contributions
Alternative command to jacobjordan's...

vb
Timer1.Start()


Both will work equally well! biggrin.gif

This post has been edited by Locke37: 12 Aug, 2008 - 08:31 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 10:31PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month