Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change time in Foxpro-session
Message
 
À
23/08/2010 08:29:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01477896
Message ID:
01479981
Vues:
37
>Does anyone know if/how I can change the datetime in my Visual Foxpro-application ?
>
>After starting our application, in some occasions, i must be able to set the date a year ahead without changing the Windows datetime.
>So when i call the Date(), Time() or DateTime()-function I must get a later date returned...


Guilluame,

The VFP2C32 Library has a SetSystemTime() function that will allow VFP to change the PC's time. I don't know if that will be useful to you but if you want to check it out, it's at http://vfp2c.dyndns.org/.

Eric
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform