0

I need to programtically make settings for all items that are shown in Settings menu of windows mobile. This includes Personal, System and Connection tabs on setttings screen. Is there any API that provices access to all settings items? I am using .NET CF 2.0.

Let me Ask
  • 1,029
  • 1
  • 8
  • 33

1 Answers1

1

All these settings should be saved in Windows Registry. You can use CERegSpy to monitor Registry changes and programmatically apply them in your .NET CF application. The following code snippet may help:

using using Microsoft.Win32;
Registry.SetValue(`PATH`, `KEY_NAME`, `VALUE`);
fardjad
  • 20,031
  • 6
  • 53
  • 68
  • Can you please tell me the path used to store this settings? I don't need to show/hide this settings. I need to change it. E.g. I should be able to set ring tone, button settings, regional settings, power setting etc. – Let me Ask Dec 27 '10 at 05:49
  • You can use CERegSpy to monitor your registry and find the path. Also you can use an application called `CeRegEditor` to take a snapshot from your registry and change the settings you want, then take another snapshot and compare it with the previous one to find the keys and values. – fardjad Dec 29 '10 at 12:33
  • Thanks. I am doing the same thing as you suggested. – Let me Ask Dec 30 '10 at 05:00
  • Is there any documentation on Registry from where I can see all Registry keys and what they mean? – Let me Ask Jan 13 '11 at 04:14
  • You can find it on Windows Mobile communities like http://www.xda-developers.com, http://www.modaco.com, http://www.ppcgeeks.com, ... – fardjad Jan 13 '11 at 18:33