Главная страница | назад





Article #17290: How do I launch the Control Panel (and its applets)

 Question and Answer Database
FAQ2290D.txt How do I launch the Control Panel (and its applets)
Category :Miscellaneous
Platform :All
Product :All 32 bit
Question:
How do I launch the Control Panel (and its applets)?
Answer:
This will launch the control panel itself:
WinExec('rundll32 shell32.dll,Control_RunDLL',SW_SHOW);
"Display Properties" — Background:
WinExec('rundll32 shell32.dll,Control_RunDLL desk.cpl,,0',SW_SHOW);
"Display Properties" — Screen Saver:
WinExec('rundll32 shell32.dll,Control_RunDLL desk.cpl,,1',SW_SHOW);
"Display Properties" — Appearance:
WinExec('rundll32 shell32.dll,Control_RunDLL desk.cpl,,2',SW_SHOW);
"Display Properties" — Settings:
WinExec('rundll32 shell32.dll,Control_RunDLL desk.cpl,,3',SW_SHOW);
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99