Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math with time
Message
De
17/02/2000 12:27:53
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00327347
Message ID:
00333487
Vues:
25
>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.
Jay Shepherd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform