[nsbasic-ce] Re: setting the date and time

2009-04-30 Thread t2thecathp
The MGCEWin32 installer is not included with NSBasic.  I found a copy in the 
download link on the Big Red Toolbox Page:  
http://www.nsbasic.com/pub/ce/BigRedToolbox/MGCEWin32.exe.

However, when I try to install it, ActiveSync says:
Unsupported Device Type - MGCEWin32 Control Set does not support the connected 
device type

I am using a Symbol MC70, which is ARM-based.

Do I have any other options?

--- In nsbasic...@yahoogroups.com, bwolodko ben.wolo...@... wrote:

 --- In nsbasic...@yahoogroups.com, 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 nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---



[nsbasic-ce] Re: setting the date and time

2009-04-30 Thread t2thecathp
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 nsbasic...@yahoogroups.com, bwolodko ben.wolo...@... wrote:

 --- In nsbasic...@yahoogroups.com, 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 nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---



[nsbasic-ce] Re: setting the date and time

2009-04-29 Thread bwolodko
--- In nsbasic...@yahoogroups.com, t2thecathp t2theca...@... 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 nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---



[nsbasic-ce] Re: setting the date and time

2009-04-29 Thread t2thecathp
I was thinking about making a SOAP call that will grab the correct date/time.

I don't thing I will go so far as to write a NTP client, but I plan to grab the 
time/date from a network source.


--- In nsbasic...@yahoogroups.com, bwolodko ben.wolo...@... wrote:

 --- In nsbasic...@yahoogroups.com, 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 nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---