A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

"Microsoft CDO 1.21 Library" missing in Office 2007.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 8th 08, 09:42 AM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Hi,

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?

Thanks,
Paresh
Ads
  #2  
Old August 8th 08, 01:57 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #3  
Old August 8th 08, 02:03 PM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Thanks Sue for reply.

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

Thanks,
Paresh

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #4  
Old August 8th 08, 02:32 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

The alternatve would be to rewrite your code to use Outlook 2007 native
objects such as PropertyAccessor and StorageItem to accomplish whatever
you're doing with CDO 1.21.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"masani paresh" wrote:

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #5  
Old August 8th 08, 02:43 PM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Moreover, The http://msdn.microsoft.com/en-us/library/bb226711.aspx says that
CDO has been consolidated into the Outlook 2007 object. Is this means that
CDO's functions will be available under the Outlook Object Model. If I
enabled Outlook 12.0 Object then will it work?

Thanks,
Paresh

"Sue Mosher [MVP-Outlook]" wrote:

The alternatve would be to rewrite your code to use Outlook 2007 native
objects such as PropertyAccessor and StorageItem to accomplish whatever
you're doing with CDO 1.21.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"masani paresh" wrote:

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #6  
Old August 8th 08, 05:03 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

That depends on what you're trying to do with CDO. As I indicated in my
earlier post, Outlook 2007 has many new objects that provide almost (but not
quite) complete parity with CDO operations. You must, of course, rewrite your
code to use those new objects.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"masani paresh" wrote:

Moreover, The http://msdn.microsoft.com/en-us/library/bb226711.aspx says that
CDO has been consolidated into the Outlook 2007 object. Is this means that
CDO's functions will be available under the Outlook Object Model. If I
enabled Outlook 12.0 Object then will it work?

"Sue Mosher [MVP-Outlook]" wrote:

The alternatve would be to rewrite your code to use Outlook 2007 native
objects such as PropertyAccessor and StorageItem to accomplish whatever
you're doing with CDO 1.21.

"masani paresh" wrote:

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #7  
Old August 8th 08, 05:18 PM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Thanks Sue for your help.

I think the better solution is to distribute the CDO 1.21 because rewrting
the code will involve lots of works.

but I could not understand why outlook versions are not compatible. I have
worked on so many MS technology and I found is compatible with one another.
and I think MS has been known for its maintaining the compatibility feature
with the s/f versions.

Thanks,
Paresh

"Sue Mosher [MVP-Outlook]" wrote:

That depends on what you're trying to do with CDO. As I indicated in my
earlier post, Outlook 2007 has many new objects that provide almost (but not
quite) complete parity with CDO operations. You must, of course, rewrite your
code to use those new objects.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"masani paresh" wrote:

Moreover, The http://msdn.microsoft.com/en-us/library/bb226711.aspx says that
CDO has been consolidated into the Outlook 2007 object. Is this means that
CDO's functions will be available under the Outlook Object Model. If I
enabled Outlook 12.0 Object then will it work?

"Sue Mosher [MVP-Outlook]" wrote:

The alternatve would be to rewrite your code to use Outlook 2007 native
objects such as PropertyAccessor and StorageItem to accomplish whatever
you're doing with CDO 1.21.

"masani paresh" wrote:

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #8  
Old August 8th 08, 07:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Regarding compatibility, Outlook object model code *is* compatible between
versions, as long as you use only objects, properties, methods, and events
from the oldest version of Outlook you want to support. You certainly can't
expect new features introduced in the latest version to be back-ported to
older versions.

The CDO 1.21 object model is an entirely different matter. It's a dead end
technology with no new features added in years and probably no one remaining
at Microsoft who completely understands it. Now that the bulk of its
functionality is available in native Outlook objects, Microsoft has no reason
to include it with Outlook and every reason to try to deter people from using
it so they can get rid of it completely at some point.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"masani paresh" wrote:

Thanks Sue for your help.

I think the better solution is to distribute the CDO 1.21 because rewrting
the code will involve lots of works.

but I could not understand why outlook versions are not compatible. I have
worked on so many MS technology and I found is compatible with one another.
and I think MS has been known for its maintaining the compatibility feature
with the s/f versions.

Thanks,
Paresh

"Sue Mosher [MVP-Outlook]" wrote:

That depends on what you're trying to do with CDO. As I indicated in my
earlier post, Outlook 2007 has many new objects that provide almost (but not
quite) complete parity with CDO operations. You must, of course, rewrite your
code to use those new objects.

"masani paresh" wrote:

Moreover, The http://msdn.microsoft.com/en-us/library/bb226711.aspx says that
CDO has been consolidated into the Outlook 2007 object. Is this means that
CDO's functions will be available under the Outlook Object Model. If I
enabled Outlook 12.0 Object then will it work?

"Sue Mosher [MVP-Outlook]" wrote:

The alternatve would be to rewrite your code to use Outlook 2007 native
objects such as PropertyAccessor and StorageItem to accomplish whatever
you're doing with CDO 1.21.

"masani paresh" wrote:

That means if we migrate to use outlook 2007 then it will need to distribute
CDO1.21 to all 1000s machines after dowloading from the link given by you?
If yes then don't we have any other alternative?

"Sue Mosher [MVP-Outlook]" wrote:

CDO 1.21 is not included with Outlook 2007 but can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en.

However, because CDO 1.21 is not supported in managed code, it's pretty
irrelevant to VSTO add-ins, which are the topic of this forum. You should
post any future Outlook VBA questions "down the hall" at
http://www.microsoft.com/office/comm....program_v ba.

"masani paresh" wrote:

We were using Outlook 2003 and everything was working fine. Now we hava
planned to shift to Outlook 2007. But we found the "Microsoft CDO 1.21
Library" missing in Office 2007." while running VBA script which was working
fine in Outlook 2003. Could any one please let me know what is the similar
file or simple solution is there to overcome this error. Will it require to
change our complete/all scripts which uses this library?


  #9  
Old August 8th 08, 09:25 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Just to add to what Sue mentioned, you are not allowed to deploy CDO
yourself, you have to download it from the Web distribution on the MS Web
site. You can of course write code to do that. I'd definitely agree with Sue
about CDO being dead end technology.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sue Mosher [MVP-Outlook]" wrote in message
...
Regarding compatibility, Outlook object model code *is* compatible between
versions, as long as you use only objects, properties, methods, and events
from the oldest version of Outlook you want to support. You certainly
can't
expect new features introduced in the latest version to be back-ported to
older versions.

The CDO 1.21 object model is an entirely different matter. It's a dead end
technology with no new features added in years and probably no one
remaining
at Microsoft who completely understands it. Now that the bulk of its
functionality is available in native Outlook objects, Microsoft has no
reason
to include it with Outlook and every reason to try to deter people from
using
it so they can get rid of it completely at some point.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


  #10  
Old August 11th 08, 08:24 AM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default "Microsoft CDO 1.21 Library" missing in Office 2007.

Thanks a lot Sue and Ken for your detailed information.

Thanks,
Paresh

"Ken Slovak - [MVP - Outlook]" wrote:

Just to add to what Sue mentioned, you are not allowed to deploy CDO
yourself, you have to download it from the Web distribution on the MS Web
site. You can of course write code to do that. I'd definitely agree with Sue
about CDO being dead end technology.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Sue Mosher [MVP-Outlook]" wrote in message
...
Regarding compatibility, Outlook object model code *is* compatible between
versions, as long as you use only objects, properties, methods, and events
from the oldest version of Outlook you want to support. You certainly
can't
expect new features introduced in the latest version to be back-ported to
older versions.

The CDO 1.21 object model is an entirely different matter. It's a dead end
technology with no new features added in years and probably no one
remaining
at Microsoft who completely understands it. Now that the bulk of its
functionality is available in native Outlook objects, Microsoft has no
reason
to include it with Outlook and every reason to try to deter people from
using
it so they can get rid of it completely at some point.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error "Microsoft Office Outlook has stopped working." Stoke Fan[_2_] Outlook - General Queries 1 January 21st 08 11:50 AM
Outlook 2007 "Microsoft office outlook has stopped working" Oilersfan1 Outlook - Installation 9 September 28th 07 02:20 AM
"Microsoft Office Outlook Could not save item" in Calendar canebee Outlook - Calandaring 6 November 6th 06 06:23 AM
Contact "subfolders" in Microsoft Outlook in Microsoft Office 2003 Rhonda Outlook - Using Contacts 2 July 12th 06 06:07 AM
Outlook 2003 / Microsoft Office Connector / "locked" email address Musofish Outlook - General Queries 1 January 21st 06 05:47 PM


All times are GMT +1. The time now is 05:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.