I would like to call the Control Panel for configuring the WLAN Settings like WEP key and so on, out of my program.
I found a list of Control Panel including there index which you need to open it.
The list is:
QuoteDisplay More
ctlpnl.exe cplmain.cpl,1 - set password
ctlpnl.exe cplmain.cpl,2 - set ownerinfo
ctlpnl.exe cplmain.cpl,3 - battery status
ctlpnl.exe cplmain.cpl,4 - memory status
ctlpnl.exe cplmain.cpl,5 - about
ctlpnl.exe cplmain.cpl,7 - align
ctlpnl.exe cplmain.cpl,8 - keyboard settings
ctlpnl.exe cplmain.cpl,9 - sound
ctlpnl.exe cplmain.cpl,10- remove programs
ctlpnl.exe cplmain.cpl,11- start menu
ctlpnl.exe cplmain.cpl,12- button assignments
ctlpnl.exe cplmain.cpl,13- today screen
ctlpnl.exe cplmain.cpl,15- beam settings
ctlpnl.exe cplmain.cpl,16- clock
ctlpnl.exe cplmain.cpl,17- network adapters
ctlpnl.exe cplmain.cpl,18- regional settings
ctlpnl.exe cplmain.cpl,19- connections
ctlpnl.exe cplmain.cpl,20- phone settings
ctlpnl.exe cplmain.cpl,22- manage certificates
ctlpnl.exe cplmain.cpl,23- bluetooth
ctlpnl.exe mycpl.cpl,2 - backlight
ctlpnl.exe mycpl.cpl,4 - microphone agc
ctlpnl.exe mycpl.cpl,5 - battery status [ same as cplmain.cpl,3 ]
ctlpnl.exe mycpl.cpl,7 - permanent save [ contacts, etc ]
ctlpnl.exe mycpl.cpl,8 - device information
ctlpnl.exe mycpl.cpl,9 - add ringtone
ctlpnl.exe mycpl.cpl,10- autoconfig
ctlpnl.exe mycpl.cpl,11- gprs suspend mode
ctlpnl.exe mycpl.cpl,12- gprs authentication
ctlpnl.exe mycpl.cpl,13- csd line type
And you can call Control panel applets from your program as following:
the 1 in "strParam.Format(_T("cplmain.cpl,%d"),1);" is the index of the control panel applet.
Question:
1. If I use the index it is different from the list?
Example: I use Index 2 but i get keyboard setting
2. You can not call all of them.
for example 17 network adapters does not work
Does anybody have an idea?
Thank you very much.
Georg
[/quote]