Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math with time
Message
From
21/02/2000 09:29:10
 
 
To
17/02/2000 12:27:53
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00327347
Message ID:
00334798
Views:
27
>>Say I wanted to time out a form. I call my foo sub and want to time this form out in approx (dynamic) minutes. Say I call the (VB time function) and try to say MyTimeOut time = (VB time function) + (dynamic) minutes. Then in the form I can ease the system strain by setting my timer to check the actual time every 65 seconds for (VB Time function) to => MyTimeOut vice an incrementer variable.
>
>Couldn't you use DateAdd() ?
>
>So, dteNewDate = DateAdd("m", 10, Now) would add 10 minutes to now.

I am going to check out that command right now! Thanks. I had implimented another way but it was sloppy. I hope this works as it seems it would. Thanks.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform