Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pocket PC Auto On 1

Status
Not open for further replies.

domenu

Programmer
May 31, 2002
30
BE
Hey,

I am writing a PPC 2003 application in C# that requires to Auto PowerUp the device at midnight to perform a backup.

Can anybody tell me how to do this?

I tried to adapt the registry "Registry\HKCU\ControlPanel\Power\AutoOnTime" , but this doesn't seem to work...

Thanks in advance,

Nick
 
I have not programmed for PocketPC yet, so hopefully I can provide assistance.
Try using ceRunAppAtTime function, using .NET CF. I think it is in C#. If I understand right it will set an alarm in the hardware to go off when you want. One thing to keep in mind is that the WM2003 OS has a bug with the timer going off to wake up the device, it does not always happen. There are some third party apps to help better the alarms. I think it is going to be fixed with an update that is coming out later this year.

Hope this helps, or provides a direction for you to go in.
I web site I have been looking at to start my PPC dev is . You might take a look.

Dave
 
Thanks Glohamar,

seems like the functionality I needed!!!

You've been a great help.



Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top