How to programmatically determine whether CDO was installed

P

Paul Williams

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.
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top