Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing system date...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00161303
Message ID:
00161322
Views:
15
>Is there a way from VFP 6 to set the system date on the
>PC from a user input into a textbox, etc.?
>
>Thanks,
>sjwilson
Hi Steve,

Ian's given you a way to do this using the API, but if there's no concrete reason to use a text box for both the date and time, you could launch the Date/Time properties dialog from your VFP app with

RUN /N9 CONTROL.EXE Date/Time

This will give the user a more familiar and intuitive dialog to deal with, and reduce the amount of code you'll have to support.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform