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
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)

http://www.viksoe.dk/code/cplapplet.htm
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

ASKER

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:
http://www.vorck.com/windows/software.html 
Avatar of Oppital

ASKER

:(
Click on the request attention link and ask for more expert participation.
ASKER CERTIFIED SOLUTION
Avatar of Matti
Matti
Flag of Finland image

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

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

Legacy CPL elevated mode

http://forums.techarena.in/vista-help/792928.htm

Regards!
Matti
Avatar of Oppital

ASKER

no solution