Click to See Complete Forum and Search --> : How to set the time to turn OFF the Backlight of the PDA


Prashant Rana
05-09-2005, 04:16 AM
Hi All,

I want to programmatically set the time uptill which if no action is performed on the PDA the backlight of the PDA should turn OFF.

I am using .NET to develop the application.

I am not able to find any way for doing the same.

Please help me out of this problem.

Thanks In Advance
Prashant N.Rana

AnswerDude
05-09-2005, 08:23 AM
I don't know if this will help, but the backlight function applet (Start - Setting - System tab - Backlight) is a program called Backlight.exe located in Windows folder.

Prashant Rana
05-09-2005, 08:38 AM
Thanks AnswerDude,

I have already successfully implemented this. Actually it is done in the following manner.

You need to download the PHM Registry Editor from the following site:-

http://www.phm.lu/downloads/download.aspx?{940B734A-C437-41C7-ADED-2A4418802FD3}

Then you can view the various RegistryKeys of the Backlight for the current user in.

HKEY_CURRENT_USER > CONTROLPANEL > BACKLIGHT

Then you can edit the RegistryKey value named BatteryTimeout to set the time for the Backlight to turn off.

And you can set this programmatically using the OPENNETCF's OPENNETCF.win32.registry class.

Thanks a lot for your concern.
Prashant N.Rana