|
-
Jul 26th, 2000, 02:25 PM
#1
Thread Starter
Addicted Member
Hi,
I would like to know What is the basic different between ActiveX and OCX?
-
Jul 26th, 2000, 02:32 PM
#2
Frenzied Member
Theyre the same in VB if you make an Active X control it is saved as an .ocx file
-
Jul 27th, 2000, 02:04 AM
#3
Hyperactive Member
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.
-
Jul 27th, 2000, 03:45 AM
#4
Well ....
It's like this:
You have a Word Document, which is saved as .Doc
You have an ActiveX control, which is saved as .Ocx
-
Jul 27th, 2000, 03:58 AM
#5
Thread Starter
Addicted Member
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
-
Jul 27th, 2000, 07:17 AM
#6
Frenzied Member
you have to use property Get and Property Let and then save the things into the property bag
-
Jul 27th, 2000, 07:25 AM
#7
Lively Member
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....
YC Sim
Teenage Programmer
UIN 37903254
-
Jul 27th, 2000, 07:58 AM
#8
Well ....
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.
-
Jul 27th, 2000, 02:24 PM
#9
Thread Starter
Addicted Member
Thnaks For The Info....
Best Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|