Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to use and include the Outlook 2007 COM Library Reference in my program.

I think my program won't run on systems that haven't Outlook 2007 installed.

That won't make any problems for me.

 

1. My question is how can I detect that Outlook 2007 is installed on a system?

Somewhere in registry?

 

2. And also how should I show a proper error message box instead of crashing error when my form loads on a system without outlook?

thanks

Posted

Does it really need to be outlook2007?

 

1. You can search the machine for the outlook folder. It is usualy in "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"

2. You can search the registry for an entry for outlook.

 

For your message;

"This application needs Microsoft outlook 2007 properly installed to run." <-- is this OK?

 

As to the HOW to show the message.. you can of course use the messagebox AFTER you detect if outlook is present or not.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...