You are currently offline, waiting for your internet to reconnect

CDO for Windows 2000 Library reference is unavailable in Visual Basic Project

This article was previously published under Q318823
This article has been archived. It is offered "as is" and will no longer be updated.
If you try to create or modify a project that references the Microsoft Collaboration Data Objects for Windows 2000 (CDOSYS) Library, the reference is not available. The reference for the Microsoft Collaboration Data Objects (CDO) for Exchange 2000 Library is present instead.
This behavior occurs because Microsoft CDO for Exchange 2000 (CDOEX) is installed on the computer.
To work around this issue, use the reference to the CDO for Exchange 2000 Library (CDOEX) instead of the reference to the CDO for Windows 2000 (CDOSYS).
This section of the article explains:
  • The relationship between the CDO for Windows 2000 (CDOSYS) Library and the CDO for Exchange 2000 (CDOEX) Library
  • How the relationship can affect the development of Visual Basic projects, including programs developed with Microsoft Visual Basic for Applications (VBA) or Visual Basic Scripting Edition (VBScript).
CDOEX is a superset of CDOSYS. This means that CDOEX contains all of the functionality of CDOSYS, plus additional functionality for use with Microsoft Exchange Server 2000. When CDOEX is installed on a computer, it takes over the functionality that was previously provided by CDOSYS. Any program that makes calls to CDOSYS will now call CDOEX instead.

When CDOEX is installed (by installing Microsoft Exchange Server2000, Microsoft Office XP, or other programs), the CDO forWindows 2000 reference is removed from the list of possiblereferences available to Visual Basic applications. However,the CDO for Exchange 2000 library is available, and developers canuse CDOEX just as they would have used CDOSYS.

Programs created using CDOSYS will function without change on computers with CDOEX installed.

Applications created using CDOEX and using only the objects associated with CDOSYS (CDO.Message for instance), will also function as expected on computers with only CDOSYS installed.

The full CDOEX object model is designed for use on computers with Microsoft Exchange 2000 Server installed. Code developed for CDOEX using CDOEX-specific objects will NOT execute correctly on computers without Exchange 2000 Server installed.

Note CDOSYS and CDOEX are not direct replacements for CDO 1.21 (CDO.DLL); their presence has no effect on the CDO 1.21 library.For more information about CDO libraries, click the following article numbers to view the articles in the Microsoft Knowledge Base:
195683 INFO: Relationship between 1.x CDO Libraries and CDOSYS.DLL
171440 INFO: Where to acquire the CDO Libraries (all versions)
CDOSYS CDOEX Visual Basic Reference missing

Article ID: 318823 - Last Review: 12/07/2015 09:08:11 - Revision: 2.6

Microsoft Visual Studio 6.0 Service Pack 5, Microsoft Collaboration Data Objects 2.0, Collaboration Data Objects for Exchange 2000, Microsoft Office XP Professional Edition

  • kbnosurvey kbarchive kbpending kbprb KB318823