PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Check if Redemption is installed

Reply

Check if Redemption is installed

 
Thread Tools Rate Thread
Old 02-03-2005, 04:47 PM   #1
=?Utf-8?B?TWFydGluIExvcw==?=
Guest
 
Posts: n/a
Default Check if Redemption is installed


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
  Reply With Quote
Old 02-03-2005, 08:30 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Check if Redemption is installed

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

"Martin Los" <MartinLos@discussions.microsoft.com> wrote in message
news:9F6DBDB1-711C-4E92-8C62-F7D53C34CEF2@microsoft.com...
> 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



  Reply With Quote
Old 03-03-2005, 07:13 AM   #3
Michael Bauer
Guest
 
Posts: n/a
Default Re: Check if Redemption is installed

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 :-)


--
Viele Grüße
Michael Bauer


"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:#Zq4#a2HFHA.3612@TK2MSFTNGP09.phx.gbl...
> 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
>
> "Martin Los" <MartinLos@discussions.microsoft.com> wrote in message
> news:9F6DBDB1-711C-4E92-8C62-F7D53C34CEF2@microsoft.com...
> > 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

>
>


  Reply With Quote
Old 03-03-2005, 09:43 AM   #4
=?Utf-8?B?TWFydGluIExvcw==?=
Guest
 
Posts: n/a
Default Re: Check if Redemption is installed

Dmitry:

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

Thanks a lot.

Martin

"Dmitry Streblechenko" wrote:

> 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
>
> "Martin Los" <MartinLos@discussions.microsoft.com> wrote in message
> news:9F6DBDB1-711C-4E92-8C62-F7D53C34CEF2@microsoft.com...
> > 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

>
>
>

  Reply With Quote
Old 03-03-2005, 11:51 PM   #5
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Check if Redemption is installed

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

"Michael Bauer" <mib00@t-online.de> wrote in message
news:OcsfnK8HFHA.3332@TK2MSFTNGP15.phx.gbl...
> 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 :-)
>
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:#Zq4#a2HFHA.3612@TK2MSFTNGP09.phx.gbl...
>> 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
>>
>> "Martin Los" <MartinLos@discussions.microsoft.com> wrote in message
>> news:9F6DBDB1-711C-4E92-8C62-F7D53C34CEF2@microsoft.com...
>> > 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

>>
>>

>



  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