1. Computing

Open an applet from the Control Panel

From , former About.com Guide

To start a Windows Control Panel Applet use the following function:

~~~~~~~~~~~~~~~~~~~~~~~~~
function RunControlPanelApplet(
  const sAppletFileName : string) : integer;
begin
  Result :=
  WinExec(
   PChar('rundll32.exe shell32.dll,'+
   'Control_RunDLL ' + sAppletFileName),
   SW_SHOWNORMAL) ;
end;
~~~~~~~~~~~~~~~~~~~~~~~~~
Usage:

RunControlPanelApplet('sysdm.cpl') ;

Note: Applet Names!
access.cpl: Hardware
appwiz.cpl: Software
desk.cpl: Display
intl.cpl: RegionalSettings
joy.cpl: Joystick
main.cpl: Mouse
mmsys.cpl: Multimedia
modem.cpl: Modems
sysdm.cpl: System
timedate.cpl: Time

Read more on Control Panel applets:
Locate, Display and Execute Control Panel Applets
Interested in Delphi code to mimic the Windows Control Panel folder behavior? In this article you can learn how to find CPL files, how to extract description, name and even the applet icon. Even more, learn how to execute applets from your applications.

Delphi tips navigator:
» Summing multiple selected rows in a DBGrid
« Use arrow keys to move between controls

©2013 About.com. All rights reserved.