Fog Creek Software
Discussion Board




vB usercontrols/ActiveX ocx's

In VB I can develop an ActiveX ocx and use that control in other projects. I can also use the usercontrol directly in another project just by adding it to the project (need to change the instancing etc..). What is the usercontrol in this situation? (its not an ActiveX control, is it simply some sort of composite of its constituent controls held together in a container?

Pete Robinson
Friday, April 04, 2003

A user control is an activex control made up of other controls. So you are right it is like a container or wrapper for other controls.

When you place it in your project it behaves just like a single control.

DJ
Friday, April 04, 2003

Mastering Visual Basic 6 has a good section explaining this. Also recommended is the Dan Appleman book  (I forget the title).

There are also lots of VB resources online.

Justin
Friday, April 04, 2003

*  Recent Topics

*  Fog Creek Home