Partager via


Visual Basic Concepts

ActiveX Controls File Names

To load an ActiveX control into the Toolbox, use the Components dialog box from the Project menu. The table below lists the names of components you will find in the dialog box along with the file name (.ocx) and the ActiveX controls contained by the component.

Note The presence or absence of components on your system depends upon which version of Visual Basic you are using.

Component Name File Name Control
Microsoft ADO Data Control 6.0 MSADODC.OCX ADO Data Control
Microsoft Chart Control 5.5 MSCHART.OCX Microsoft Chart
Microsoft Comm Control 6.0 MSCOMM32.OCX MSComm
Microsoft Common Dialog Control 6.0 COMDLG32. OCX CommonDialog
Microsoft Data Bound Grid Control 5.0 DBGRID32.OCX DBGrid
Microsoft Data Bound List Controls 6.0 DBLIST32.OCX DBList, DBCombo
Microsoft Data Repeater Control 6.0 MSDATREP.OCX DataRepeater
Microsoft Data Grid Control 6.0 MSDATGRD.OCX DataGrid
Microsoft Data List Controls 6.0 MSDATLST.OCX DataList, DataCombo
Microsoft FlexGrid Control 6.0 MSFLXGRD.OCX MSFlexGrid
Microsoft Grid Control GRID32.OCX Grid
Microsoft Hierarchical Flex Grid Control 6.0 MSHFLXGD.OCX MSHFlexGrid
Microsoft Internet Transfer Control 6.0 MSINET.OCX Internet Transfer control
Microsoft MAPI Controls6.0 MSMAPI32.OCX MAPIMessages, MAPISession
Microsoft MaskedEdit Control 6.0 MSMASK32.OCX MaskedEdit
Microsoft Multimedia Control 6.0 MCI32.OCX Multimedia MCI
Microsoft PictureClip Control 6.0 PICCLP32.OCX PictureClip
Microsoft RemoteData Control 6.0 MSRDC20.OCX RemoteData
Microsoft RichTextBox Control 6.0 RICHTX32.OCX RichTextBox
Microsoft SysInfo Control 6.0 SYSINFO.OCX SysInfo
Microsoft TabbedDialog Control 6.0 TABCTL32.OCX Microsoft Tab Control
Microsoft Windows Common Controls 6.0 MSCOMCTL.OCX TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListView, ImageList, Slider, ImageCombo
Microsoft Windows Common Controls-2 6.0 MSCOMCT2.OCX Animation, UpDown, MonthView, DTPicker, FlatScrollbar
Microsoft Windows Common Controls-3 6.0 COMCT332.OCX CoolBar
Microsoft Winsock Control 6.0 MSWINSCK.OCX WinSock