Knowledge Base

PRB: COMDLG16.OCX Is Not Loaded When Starting a 16-Bit Project

Article ID: 149490

Article Last Modified on 1/8/2003


APPLIES TO


This article was previously published under Q149490

SUMMARY

When you start the 16-bit edition of Visual Basic 4.0, you may get a dialog box with the following message, "File not found: 'COMDLG16.OCX-Continue Loading Project?" This is caused by Visual Basic not properly registering the control during setup.

RESOLUTION

Register the control through the Custom Controls dialog box using the following steps:

  1. In the Tools Menu, click Custom Controls.
  2. Click the Browse button and find a file called COMDLG16.OCX. This file is usually located in your Windows\System directory.
  3. After selecting this file, make sure the file is checked in the Custom Controls dialog box before closing this dialog box.

Keywords: kb16bitonly kbprb KB149490