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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top