|
-
Jul 11th, 2007, 04:28 AM
#17
Thread Starter
New Member
Re: Timer issue on VB6
 Originally Posted by opus
The code you (kusky) posted is a mixture of the code from EllisDee (datediff) and randem.
You create the Static Seconds and update it, but you don't use it for checking!
You use the DateDiff correctly, however you're telling the software to stop after one minute (which is something like 60 seconds AFAIK) and not 30 minutes. How did you stop the 34 seconds, exactly when the Form_lad was happening??
did you see the messagebox at all?, since this command is after Unload.Me I don't think so (it was the other way around in Ellis code!)
The reason my code has the seconds is simply for me to view something when im testing it.
I have found out that no matter when i open the form it will close when the system clock hits the first full minute. The Code does not wait for 1 minute after the form was opened.
IS the only way to make sure its full minutes to use what randem suggests and use seconds?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|