Using Custom Controls

See Also1HG3HJ4

You can use custom controls2SOD6E in your applications by loading them into the programming environment using the Add File command on the File menu, or by specifying their definition files (files with a .VBX extension) in a project's .MAK file.  For example, Visual Basic has a default project file called AUTOLOAD.MAK that includes two custom-control file specificationsGRID.VBX for the grid control2VGT0PT, and OLECLIENT.VBX for the OLE control2HQDVVU.  When Visual Basic starts with no other file specification, the default AUTOLOAD.MAK project is loaded and the icons for the grid and OLE controls appear at the bottom of the Toolbox.  You use custom controls the same way as other controls in Visual Basic.

See Also


Grid Control2VGT0PT



Programmer's Guide:

Chapter 13, "Using the Grid Control"

Chapter 21, "Object Linking and Embedding (OLE)"