how can I use .netcf to call control applet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear Sir,
Can We use .netcf to call control applet program just like own information,
battery status.
 
You can launch other processes using the CreateProcess or ShellExecuteEx API
functions through P/Invoke, or use the ready-made Process class in OpenNETCF
SDF (www.opennetcf.org/sdf/)

To launch any of the control panel applets you can call ctlpnl.exe with a
specific command line e.g. for the Time control panel:-

Process.Start("ctlpnl.exe", "cplmain.cpl,16,0")

You can find more control panel identifiers here:-
http://www.pocketpcdn.com/articles/controlpanel.html

Peter
 
Back
Top