I have Visual Foxpro code which in its simplest form looks like this:
It is contained in a push button Click event on a menu so the user can easily start the clock on the handheld device when it is docked, so they can set the correct time.
Now what I would like to know, is there a way to pass a parameter to the 'clock' applet with the current date and time, or is there another API call I can use to automatically set the date and time clock on the device without actually running the clock applet?
This needs to be done before the device is issued and taken out of the building for the day.
-Dave Summers-
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Even more Fox stuff at:
Code:
oExec = CreateObject('trapiexec')
oExec.runapp('clock')
It is contained in a push button Click event on a menu so the user can easily start the clock on the handheld device when it is docked, so they can set the correct time.
Now what I would like to know, is there a way to pass a parameter to the 'clock' applet with the current date and time, or is there another API call I can use to automatically set the date and time clock on the device without actually running the clock applet?
This needs to be done before the device is issued and taken out of the building for the day.
-Dave Summers-
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Even more Fox stuff at: