I feel kinda dumb for not noticing, but IP*Works! includes an NTP Client. The control is called 'NetClock'... not to be confused with the Usenet control called 'NNTP'.
So I should be able to use this, which is nice b/c the MGCEWin32 control won't install on my device. --- In [email protected], "bwolodko" <ben.wolo...@...> wrote: > > --- In [email protected], "t2thecathp" <t2thecathp@> wrote: > > > > Is it possible to set the date and time on the handheld device with > > NSBasic/CE code? > > > > Everytime I reset the device, it thinks it is 2004 or 2005. > > > > Sounds like the RTC is not working... need new battery? > > I think you can set or retrieve the time and date by using: > > addobject "MGCEWin32.API", "API", 0, 0, 0, 0 > d = API.SystemTime > API.SystemTime = Now > > See The Big Red Toolbox , MGCEWin32 > > http://www.nsbasic.com/ce/info/BigRedToolbox/MGCEWin32.htm > > The problem is who sets the values before you call this? InputBox? > > Shades of old DOS when it asked you for the time and date at boot time. > > Hope this helps.. > Ben > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
