How to turn on the pocket pc like" clock" of the system?

P

Peter Foot [MVP]

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

Top