BUG: ADO 2.0 Reference Cannot Be Saved in Visual Basic 6.0 with Visual Studio Service Pack 4

Article translations Article translations
Article ID: 276380 - View products that this article applies to.
This article was previously published under Q276380
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

In Visual Basic 6.0, with the Visual Studio 6.0 Service Pack 4 installed, a reference to the Microsoft ActiveX Data Objects (ADO) 2.0 Library (msado20.tlb) cannot be saved. Instead, the reference is automatically upgraded to Microsoft ActiveX Data Objects (ADO) 2.5 Library (msado15.dll) when the project is re-opened.

STATUS

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

This bug was corrected in Visual Studio 6.0 Service Pack 5. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed
To download the latest Visual Studio service pack, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Standard EXE project in Visual Basic. Form1 is created by default.
  2. On the Project menu, click References, and then select Microsoft ActiveX Data Objects 2.0 Library. This associates msado20.tlb with the project.
  3. Save and close the project.
  4. Re-open the project.
  5. On the Project menu, click References, and note that Microsoft ActiveX Data Objects 2.5 Library (msado15.dll) is now selected.
NOTE: If a project uses or references the adodc control (msadodc.ocx) or the data environment designer (msderun.dll), then the upgrade from ADO 2.0 to ADO 2.5 is done automatically because both of these components require ADO 2.5.

Properties

Article ID: 276380 - Last Review: February 28, 2014 - Revision: 1.2
APPLIES TO
  • Microsoft Visual Studio 6.0 Service Pack 4, when used with:
    • Microsoft Visual Basic 6.0 Professional Edition
    • Microsoft Visual Basic 6.0 Enterprise Edition
Keywords: 
kbnosurvey kbarchive kbbug kbpending KB276380

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com