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

Last reviewed: February 13, 1997
Article ID: Q149490
The information in this article applies to:
  • Professional and Enterprise Editions of Microsoft Visual Basic, 16-bit only, for Windows, version 4.0

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.


KBCategory: kbprg kbprb
KBSubcategory: PrgCtrlsCus vb416 vb4win
Additional reference words: 4.00




THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.