How to programmatically determine whether CDO was installed

  • Thread starter Thread starter Paul Williams
  • Start date Start date
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.
 
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.
 
Back
Top