![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |