INFO: List of Visual Basic version 4.0 Custom Controls Discontinued in Visual Basic, version 5.0

This article was previously published under Q172193
This article has been archived. It is offered "as is" and will no longer be updated.
The following custom (ActiveX) controls that shipped with Visual Basic 4.0are not installed with Visual Basic 5.0:
   AniBtn32.OCX   Gauge32.OCX    Graph32.OCX    Grid32.OCX     KeySta32.OCX   MSOutl32.OCX   MSRDC32.OCX    Spin32.OCX     ThreeD32.OCX				

These controls have been replaced with different custom (ActiveX) controlsor enhanced intrinsic controls. Microsoft does not support the use of thesecontrols in Visual Basic 5.0. This article describes each of these VisualBasic 4.0 controls and how to achieve the same functionality in VisualBasic 5.0.
A brief description of each of the discontinued Visual Basic 4.0 custom(ActiveX) controls and their Visual Basic 5.0 replacements follows.


The Animated Button control is a flexible button control that allows youto use any icon, bitmap, or metafile to define your own button controls. Italso allows you to create animated or multi-state buttons.

The intrinsic Command Button control in Visual Basic 5.0 now supports aPicture property. The Picture property supports graphics of the followingtypes: bitmap, icon, metafile, GIF, and JPEG.

The Animation control can be used to create buttons that displayanimations. This control is included with the Windows Common Controls-2,ComCt232.OCX.


The Gauge control creates user-defined gauges with a choice of linear(filled) or needle styles. This control is useful for thermometers, fuelgauges, percent-complete indicators, or any other type of analog gauge.

In Visual Basic 5.0, use the ProgressBar control found in the WindowsCommon Controls, ComCtl32.OCX.


The Graph control allows programmatic creation of graphs and charts inVisual Basic objects.

In Visual Basic 5.0, the MSChart control, MSChart.OCX, provides similarfunctionality.


A Grid control displays a series of rows and columns.

In Visual Basic 5.0 use the FlexGrid control, MSFlxGrd.OCX.


You can use the Key State control to display or modify the CAPS LOCK, NUMLOCK, INS, and SCROLL LOCK keyboard states.

In Visual Basic 5.0, you can modify the status of CAPS LOCK, NUM LOCK, INS,and SCROLL LOCK using the SendKeys command or Windows API commands. Thestate of the above keys can be displayed using the StatusBar control. TheStatusBar control can be found with the Windows Common Controls,ComCtl32.OCX.


The Outline control is a special type of list box that allows you todisplay items in a list hierarchically. This is useful for showingdirectories and files in a file system.

In Visual Basic 5.0, the TreeView control provides similar functionality.The TreeView control can be found in the Windows Common Controls,ComCtl32.OCX. For displaying directories and file systems, the intrinsicDriveListBox, DirListBox and FileListBox may be used.


Provides access to data stored in a remote ODBC data source. The RemoteData control enables you to move from row to row in a result set and todisplay and manipulate data in bound controls.

In Visual Basic 5.0, this control had been replaced with MSRDC20.OCX.


The Spin button is a spinner control that you can use with another controlto increment and decrement numbers. You can also use it to scroll back andforth through a range of values or a list of items.

In Visual Basic 5.0, use the UpDown control found in the Windows CommonControls-2, ComCt232.OCX.


The ThreeD32.OCX provides three-dimensional versions of several of theVisual Basic intrinsic controls, such as the 3D Command Button and 3DCheckBox.

Most of the functionality provided by this control has been incorporatedinto each of the intrinsic Visual Basic 5.0 controls.

NOTE: The discontinued controls listed above are no longer supported inVisual Basic 5.0 applications. However, for backward compatibility severalof the files are available on the Visual Basic 5.0 installation CD-ROM inthe following location:

Detailed instructions for installing the older versions of the controls areprovided in the README.TXT file in the same folder.
The Custom Control Reference Help File found in the Tools\Controls folderof the Visual Basic 5.0 installation CD-ROM.

The ReadMe.Txt file found in the Tools\Controls folder of the Visual Basic5.0 installation CD-ROM.

Visual Basic Books On-Line\Visual Basic Help\Controls Reference\ActiveXControls.

Article ID: 172193 - Last Review: 12/04/2015 17:32:58 - Revision: 3.0

Microsoft Visual Basic 5.0 Control Creation Edition, Microsoft Visual Basic 5.0 Learning Edition, Microsoft Visual Basic 5.0 Professional Edition, Microsoft Visual Basic 5.0 Enterprise Edition, Microsoft Visual Basic 4.0 Standard Edition, Microsoft Visual Basic 4.0 Professional Edition, Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

  • kbnosurvey kbarchive kbinfo kb32bitonly KB172193