Step 1: Create the Control

Start a new Visual Basic project including VSFlexGrid 8.0 (if you don't know how to add OCX files to a project, consult the Visual Basic documentation). The VSFlexGrid icon will be added to the Visual Basic Toolbox.

Create a VSFlexGrid object on the form by clicking the VSFlexGrid icon on the Toolbox, then clicking on the form and dragging until the object is the proper size.

Next, use the Visual Basic Property window to set the control name to fg.