Share via


Visual Basic Concepts

Upgrading VBX Controls to ActiveX Controls

If you have a project with VBX custom controls that you'd like to replace with ActiveX controls, Visual Basic can do this automatically. Conversion is only possible for VBX custom controls for which replacement ActiveX controls exist on your system. For more information, see "Managing Projects," in the Visual Basic Programmer's Guide.

The following VBX custom controls are no longer supported in Visual Basic  However, 32-bit ActiveX versions can be found as .ocx files in the \Tools\Controls directory of your Visual Basic CD-ROM:

  • AniButton

  • Gauge

  • Graph

  • KeyState

  • MSGrid

  • Outline

  • Spin

  • ThreeD

To install these controls, you will have to use the Regsvr32 and RegEdit applications, which are also available in the Tools directory. For instructions on how to use the Regsvr32 and RegEdit applications, consult the Readme.txt file in the \Tools\Controls directory.