Link to home
Start Free TrialLog in
Avatar of Oppital
OppitalFlag for Brazil

asked on

Executable in .cpl VIsual Basic

I wonder how to create an executable file in VB6 in the format ".cpl"
I saw several models in delphi, but not in VB.
Now, thank you.
Avatar of cquinn
Flag of United Kingdom of Great Britain and Northern Ireland image

It can't be done in VB6 - you have to use C++
Avatar of aikimark
Try renaming the file type from EXE to CPL
.cpl files are renamed .dll files, not .exe files (and they are not ActiveX dll's, so can't be created from VB)
In the linked article:
Windows Vista finally breaks free of the DLL limitation and allows you to embed the Control Panel functionality in your .exe file.
Avatar of Oppital


If you try to rename failed, and the link above does the information on how to create in vb: (
Try a wrapper for your VB6 program, like this one:
Control Panel Wrapper 1.0: 
Avatar of Oppital


Click on the request attention link and ask for more expert participation.
Avatar of Matti
Flag of Finland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

If it's your own applet that goes to system32 folder and note this:

Legacy CPL elevated mode

Avatar of Oppital


no solution