PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins How to programmatically determine whether CDO was installed

Reply

How to programmatically determine whether CDO was installed

 
Thread Tools Rate Thread
Old 07-06-2004, 08:07 PM   #1
Paul Williams
Guest
 
Posts: n/a
Default How to programmatically determine whether CDO was installed


Hi,
Does anyone know how to programmatically determine whether
CDO 1.2.x was already installed on the computer ? Indeed,
if it was, I don't have to ask user to install CDO.
Thanks for your help.
  Reply With Quote
Old 08-06-2004, 02:15 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: How to programmatically determine whether CDO was installed

Try to instantiate a MAPI.Session. You can also get the Outlook version and
look in the version specific folders where it would be installed to see if
CDO.DLL is there. You can do that using Windows Scripting's FileExist.

Look at the ItemsCB COM addin sample on the Resources page at
www.microeye.com for an example of checking for CDO and offering to demand
install it if it's not there.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Paul Williams" <anonymous@discussions.microsoft.com> wrote in message
news:1942401c44cc2$a6bf7c70$a401280a@phx.gbl...
> Hi,
> Does anyone know how to programmatically determine whether
> CDO 1.2.x was already installed on the computer ? Indeed,
> if it was, I don't have to ask user to install CDO.
> Thanks for your help.



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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