windows-mobile-5.0

Set the System Sleep/standby timeout programmatically

I need to set the sleep/standby timeout programmatically for my device. (ie when it sits idle for a while it turns off.) It defaults to 120 and I have a tool that let me change it, but I want to change it via my program (dynamically). Any ideas on how to do that? ...

Tell the OS to reload the power timeout values from the registry

I have some code that I am using to update the amount of time the device will wait before going to sleep. I update the registry and then try to tell the OS to reload the value, but it is not working. (The reload part does not work. The registry updates fine.) I am going to post my code in the hopes that someone knows what I am doing ...

Howto reference mstscax.dll in a SmartDevice project for Windows Mobile 5.0

I want to make a little application around the 'Remote Dekstop' (RDP), to make sure the users has correct settings etc. When I would make this application for a 'normal' pc in Visual Studio 2008, I just add the reference to the mstscax.dll to the project, and I can e.g. add the rdp-control to the main-form. However, when I try to do this...

Out of Memory on Windows Mobile 5

My application is running out of memory. It runs on an MC70. It happens when I pull a lot of data down from a Web Service. I know I have a lot of data in memory, but I am wondering if there are any tricks of the trade when dealing with this kind of thing. Here is my scenario, I have a soap service that gets activity data, including i...