Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all
in my form nearly 10 buttons.
all the 10 buttons can click dialy morning @10:30 pm.all the 10 buttons will do same work(eg;Download)

i want to use the timer control.
how i will do? can any one suggest the code.

can i use more than one timer control in same page?
Posted

1 solution

It sounds like your first mistake was to put the code that the button is kicking off in the button Click event handlers. Move that code to its own Sub and then you can easily call it from anywhere else, event the Tick event of a Timer.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 13-May-11 0:35am    
Usual mistake of absolute beginners. Correct advice, my 5.
--SA
Kim Togo 13-May-11 5:49am    
Good answer. 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900