Hello, I am looking to see whether VSTO can solve a problem we are facing.
We have a .NET 2.0 winforms app that's distributed via ClickOnce. One
of the features is that it allows you to create an appointment inside
the program based on some meta data. The appointment is then
synchronized with the user's Outlook calendar. The synchronization is
done via the Outlook automation model.
The problem is that Outlook throws up a dialog when it's automation
model is accessed. The dialog asks for how long the calling application
will be granted access to Outlook. This is, of course, really annoying,
since the users are completely confused. To that end, we integrated a
3rd party COM object from Add-in Express (
http://www.add-in-express.com/docs/outlook-security-manager-delpoyment.php
) that suppresses that dialog. So on the startup of the application, we
would automatically register this COM object in the registry and somehow
the object would suppress the dialog. And this arrangement has worked
great until recently.
Our users got their rights reduced - they were moved from the PowerUsers
group to the Users group and thus we can't register anything in the
registry.
Is there anything that VSTO can do to help me in this situation?
Regards
If you're using Add-In Express I'd ask them if they can help with that.
Otherwise you're at the mercy of the Outlook object model guard, options are
listed here: http://www.outlookcode.com/article.aspx?id=52.
Personally, I use the Redemption option.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Hello, I am looking to see whether VSTO can solve a problem we are facing.
>
[quoted text clipped - 22 lines]
>
> Regards
Frank Rizzo - 21 Feb 2008 19:16 GMT
> If you're using Add-In Express I'd ask them if they can help with that.
I asked and they can't help. I've even tried the Reg-Free COM approach,
but they are saying that their COM DLL must be registered in the registry.
> Otherwise you're at the mercy of the Outlook object model guard, options
> are listed here: http://www.outlookcode.com/article.aspx?id=52.
>
> Personally, I use the Redemption option.
Thanks, I'll check it out.
Frank Rizzo - 22 Feb 2008 17:56 GMT
Redemption also uses COM which means that I'd have to register it. Thus
I can't use it.
>> If you're using Add-In Express I'd ask them if they can help with that.
>
[quoted text clipped - 7 lines]
>
> Thanks, I'll check it out.
Ken Slovak - [MVP - Outlook] - 22 Feb 2008 19:50 GMT
Did you look at the information on the Redemption Web site about using it
without registration? That works.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Redemption also uses COM which means that I'd have to register it. Thus I
> can't use it.
Frank Rizzo - 23 Feb 2008 00:48 GMT
> Did you look at the information on the Redemption Web site about using
> it without registration? That works.
Where did you see that? I don't see it.
Ken Slovak - [MVP - Outlook] - 23 Feb 2008 18:04 GMT
Go to http://www.dimastr.com/redemption/ and click on the Security button.
It's at the link for Registry-free COM.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
>> Did you look at the information on the Redemption Web site about using it
>> without registration? That works.
>>
> Where did you see that? I don't see it.