Execute Control Panel Item

By | 2002-06-01

Allows the author to launch a Control Panel item (or .cpl file).

Original Author: Will Smith

Inputs

The name of the .cpl file.

Assumptions

Windows Interface

Side Effects

Same effects of the Shell Command

Code

'Where Odbccp32.cpl is the name of the control panel item.
Shell "rundll32.exe shell32.dll,Control_RunDLL Odbccp32.cpl", vbNormalFocus

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.