Click here to Skip to main content
15,311,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

Kindly confrim how to show the running clock. i.e as defined

label1= time.now

show only loading time of form. How we will show the running time. Time

of the label1 should change with every seconds.
Posted

Add a timer to your form, enable that timer, set its intervall to whatever suits your needs best and set label1.text = time.now in the timer_tick-event.
And get a book about VB.NET since this is quite basic.
   
Comments
CPallini 6-Sep-10 8:27am
   
Yeah that is quite BASIC. :-)
Smithers-Jones 6-Sep-10 8:41am
   
:-) Well, it's not exactly rocket science (or brain surgery).
use Window.setInterval() method to trigger the Javascript function every second.

Regards,
Sushant.
   
Comments
Peter_in_2780 7-Sep-10 0:25am
   
Reason for my vote of 1
The question has nothing to do with Javascript.
Sushant Joshi 29-Sep-10 1:24am
   
I am not sure wether you understood the response, I had mentioned one approach of doing it in JS.

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