This article was brought to you by the guys from VDF-GUIdance.
For more DataFlex targeted articles see http://www.vdf-guidance.com


Control Panel Applets

by Wil van Antwerpen

Summary

A little class to start any of the available control panel applets available in your windows version.
Size: 26 KB Download
Date Created: 14/10/2003
Date Updated: 14/10/2003
Author: Wil van Antwerpen
Company: Antwise Solutions


Windows has a bunch of built-in standard controls which a developer can call quite easily.
The attached code will allow you to call any control panel applet with just a few lines of code.
Typical control panel applets are:
  • The regional date settings applet
  • The copy disk dialog
  • The Add New Printer applet
  • The Internet Properties applet
  • ... any other available applet on your PC

Some of the applets might be operating system specific.
You can look this up in the source code as it is documented in there.
You can indicate on which page you want the applet to open.

Included is a small example workspace which shows all the existing applets on your PC.
We have only tested this code with VDF9.0.
You should however be able to compile the code on older and/or newer versions, but the example program can only be loaded in the IDE by VDF9.x

Installation



Register the example workspace by using the VDF9.0 workspace registration tool from your start menu and selecting the VDF-GUIdance.ControlPanelApplets.ws file in the ./Programs folder.

Download



ControlPanel-0-1