BUG: Cannot Run a 32-Bit Application That Uses DBGrid After Starting a 16-Bit Application That Uses 16-Bit DBGrid

This article was previously published under Q307557
This article has been archived. It is offered "as is" and will no longer be updated.
You have Dbgrid16.ocx and Dbgrid32.ocx controls on your Windows 95 or Windows 98-based system that are in use by two different applications. One application uses the 16-bit control (Dbgrid16.ocx) and another application uses the 32-bit control (Dbgrid32.ocx). If you start the 16-bit application and then try to start the 32-bit application, the 32-bit application fails and returns the following error message:
Component 'DBGRID32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.
The problem does not happen if you run these applications on Windows NT 4.0, Windows 2000, or Windows XP. Also, it does not happen if you start the 32-bit application first and then start the 16-bit application.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this hotfix.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix should have the following file attributes or later:
   Date      Time    Version      Size    File name     Platform   -------------------------------------------------------------   9/7/2001  3:37pm    524 KB  DBGrid32.ocx				

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Article ID: 307557 - Last Review: 02/27/2014 21:10:02 - Revision: 3.4

  • Microsoft Visual Basic 4.0 Enterprise Edition
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 5.0 Professional Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
  • kbnosurvey kbarchive kbbug kbpending kbqfe KB307557