12-20-2009, 05:48 AM
need visual basic codes that calculate the elapsed time
help with vb codes
|
12-20-2009, 05:48 AM
need visual basic codes that calculate the elapsed time
Shouldn't be too hard.
What are you making and how much experience do you have? I CBF to write them, i'll have a look around though. Is this what you mean? http://support.microsoft.com/kb/213481
You mean from when you started the application to when you finished it?
If that's what you're talking about, then just make a new timer with an interval of 1000, and enable it. Create a new module and add: Code: Public lapsedTime As Int = 0 Double click on the timer and add this: Code: lapsedTime = lapsedTime + 1 Every second, lapsedTime will get added by 1 from the time the application was ran. You can format that however you like.
12-21-2009, 09:50 AM
I'ts very easy, although I only found out about it a few days ago
Code: dim a as new stopwatch() |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Source Codes For Beginners Pt.1 | SouR'D | 14 | 4,544 |
11-25-2012, 10:36 PM Last Post: ƃu∀ ıʞƃu∀ |
|
Source Codes For Beginners Pt.2 | SouR'D | 9 | 3,625 |
11-25-2012, 10:35 PM Last Post: ƃu∀ ıʞƃu∀ |