>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