Hi,
I would like to know What is the basic different between ActiveX and OCX?
Printable View
Hi,
I would like to know What is the basic different between ActiveX and OCX?
Theyre the same in VB if you make an Active X control it is saved as an .ocx file
ActiveX is the general name for Active X ocx and dll's.
An ocx is a compiled usercontrol (the same as a dll is a compiled class (one or more....).
So, ocx = ActiveX. Just another way of referring to the same.
It's like this:
You have a Word Document, which is saved as .Doc
You have an ActiveX control, which is saved as .Ocx
Hi,
OK - SO there is is no different between ActiveX and OCX - so how can i add a properites to a control ? how can i add my control to ToolBox of VB?
Regards
you have to use property Get and Property Let and then save the things into the property bag
there is this wizard called the activeX Control Interface Wizard that manages the properties ands method and events of an activeX control in VB 5 Enterprise (should be, my school uses it). if you dun see it in the Add In Menu, you can load it from Add In Manager otherwise, you have to install VB again with that option checked....
Well, if you are new to ActiveX development, use the ActiveX control Interface Wizard. Start with just a couple of properties so you are not confused. Once your control is ready with these properties, go to File > Make OCX and compile your control into an .OCX file. Once the compilation is over, the control will appear in the components list which you get by Project > Components.
Thnaks For The Info....
Best Regards