Check if Redemption is installed

G

Guest

How do I programattically check whether a user has the Redemption.dll file
installed on his machine?

I want to do this:

1. Check if Redemption.dll is installed on machine
===> HOW?????

2. Check if in Outlook Proyect, Redemption add-in is referenced to
===> HOW?????

3. If so, use a procedure with redemption methods (without security prompts)

4. If not, use a "normal" procedure (that will trigger security prompts)

TIA

Martin
 
D

Dmitry Streblechenko

The easiest way to do that is to try to create a Redemption object and catch
the error if it is not available.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
M

Michael Bauer

Hi Dmitry,

but if the user has changed the progid (and he should do that) then this
isn´t possible, is it?

@Martin: I´d say, buy the dll and distribute your project with it. That
is the surest way :)
 
G

Guest

Dmitry:

Since I am no expert programmer, this will do perfect.

Thanks a lot.

Martin
 
D

Dmitry Streblechenko

Correct. If the prog id is modified (customized), you can't use the
customized version unless you know the new class names/class GUIDs.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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