Windows - rodando applets do painel de controle |
Top Previous Next |
|
{ Running Control Panel's Applets
To do this, you need to launch an executable called RUNDLL32.EXE and as parameters, pass in the SHELL32.DLL and the command Control_RulDLL and the name of the applet. }
// lauch control panel:
WinExec('rundll32 shell32.dll,Control_RunDLL',SW_SHOW);
// To launch the BDE Config utility, use the following code:
WinExec(PChar('rundll32.exe shell32.dll,' + 'Control_RunDLL ' + 'c:\windows\system\bdeadmin.cpl'), SW_SHOWNORMAL);
// Video properties:
WinExec('rundll32 shell32.dll,Control_RunDLL desk.cpl,,5',SW_SHOW);
// Others applets:
appwiz.cpl - Adicionar e Remover programas desk.cpl - Video intl.cpl - Configurações Regionais joy.cpl - Controlador de Jogos main.cpl - Mouse mmsys.cpl - Multimidia modem.cpl - Adivinha sysdm.cpl - Sistema timedate.cpl - Precisa? |