PRB: Cannot Use MSFlexGrid Wizard Control in Custom App (190920)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q190920

SYMPTOMS

When you attempt to use the MSFlexGrid Wizard ActiveX control (FlexWiz.ocx) in a form, you see the following behavior:
  • The control is blank.
  • The control does not have any property pages. (When you right-click the control in design view, Properties is not listed on the shortcut menu.)
  • If you run the form that contains the control, you receive the following error message:
    Run-time error '9':
    Subscript out of range

CAUSE

Although the MSFlexGrid Wizard is listed in the Project Components dialog, it is a subwizard control used solely by the Application Wizard. You cannot use the control in custom applications.

RESOLUTION

Do not use the MSFlexGrid Wizard control in an application.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:5/13/2003
Keywords:kbprb KB190920