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



The information in this article applies to:

  • Microsoft Visual Basic Enterprise Edition for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 4.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • the operating system: Microsoft Windows 95
  • the operating system: Microsoft Windows 98
  • the operating system: Microsoft Windows 98 Second Edition

This article was previously published under Q307557

SYMPTOMS

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.

RESOLUTION

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  5.1.93.30    524 KB  DBGrid32.ocx
				

STATUS

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

Modification Type:MinorLast Reviewed:10/21/2005
Keywords:kbbug kbpending kbQFE KB307557