Adding Control Panel Applet
Hi
is it possible to create a control panel applet using VB6?
a search suggested me that a cpl is a renamed standard dll which implements 2 methods DllMain() and CPIApplet() ... well... as we cannot create standard dll in vb6...
is there any workaround?
or in worst case... any third party tool?
Re: Adding Control Panel Applet
You can shell most of the features provided by the Control Panel from VB, so you could actually "build" a Control Panel using a Form and some icons.
Re: Adding Control Panel Applet
Quote:
Originally Posted by Hack
You can shell most of the features provided by the Control Panel from VB, so you could actually "build" a Control Panel using a Form and some icons.
u got me wrong buddy... i have created a service in VB.. now i want to provide a applet in control panel for that service...how about that?
Re: Adding Control Panel Applet
Quote:
Originally Posted by moinkhan
well... as we cannot create standard dll in vb6...
Not true! I just made some the other day, and called their functions using Declare statements... I was excited :p !
One of the more helpful articles I've read on VB here.
Basically what you need to do is create a wrapper for the VB6 linker, and add an exports command. The article explains it all.
Due to the limitations of VB you still need at least 1 class module in your dll, but all the rest can be straight .bas modules.
Re: Adding Control Panel Applet
Couldnt you just control your service from the Services CP Applette?
Re: Adding Control Panel Applet
Quote:
Originally Posted by RobDog888
Couldnt you just control your service from the Services CP Applette?
Nops! my service depends upon parameters which i have to set through my suggested control panel applet..
Re: Adding Control Panel Applet
Quote:
Originally Posted by penagate
Not true! I just made some the other day, and called their functions using Declare statements... I was excited :p !
One of the more helpful articles I've read on VB
here.
Basically what you need to do is create a wrapper for the VB6 linker, and add an exports command. The article explains it all.
Due to the limitations of VB you still need at least 1 class module in your dll, but all the rest can be straight .bas modules.
lolz... you have caught me twice on the same point... :D
well... when i said VB can't do it... means.. out-of-the-box VB doesn't support this thing... (well... the secret is .. despite of believing that VB can do ANYTHING, i didn't know about this Win32 DLL creation capability of VB)
Thanx a lot buddy... you solved me a huge problem... :wave: