BUG: You receive a "Class not registered" error message in Visual Basic 6.0 project after you remove Visual Studio .NET or Visual Studio 2005 (814707)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
SYMPTOMSYou have Visual Studio .NET or Visual Studio 2005 installed on your computer. You
create a Visual Basic 6.0 project that has a control that is bound to a data
source. When you remove Visual Studio .NET or Visual Studio 2005 and then run you Visual Basic 6.0
project, you receive the following error message: Run-time
error '713': Class not registered. Looking for object with CLSID:{59245250-7A2F-11D0-9842-00A0C91110ED} CAUSEThis problem occurs because the Component Object Model (COM)
based MSBind.dll is unregistered when you remove Visual Studio .NET or Visual Studio 2005. Visual
Basic 6.0 uses MSBind.dll to bind the control to the data source. Therefore,
when you run a Visual Basic 6.0 project that has a data-bound control, you
receive the run-time error message.RESOLUTIONTo resolve this problem, register MSBind.dll again. To do
this, you can use the Regsvr32.exe tool or you can add the reference to your
Visual Basic 6.0 project so that the DLL is registered automatically. To add
the reference to your project, follow these steps: - In Visual Studio .NET or in Visual Studio 2005, open your Visual Basic
project.
- On the Project menu, click
Add References.
- Click Browse, and then locate the
MSBind.DLL assembly in the system32
folder.
- Click MSBind.DLL, and then click
Open.
Note In Visual Studio 2005, you do not have to click Open. - Click OK to apply the references to the
project.
- On the Run menu, click
Start.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information, visit the following Microsoft Web
site:
Modification Type: | Major | Last Reviewed: | 3/6/2006 |
---|
Keywords: | kbvs2005applies kbvs2005swept kbvs2002sp1sweep kberrmsg kbDLL kbDataBinding kbRegistry kbbug KB814707 kbAudDeveloper |
---|
|