Sam
Sam

Reputation: 15

Is there a way to override this message in my outlook plugin?

I am developing an outlook plugin that will be distributed among several users and I keep getting a message saying that "A program is trying to access e-mail address information stored in outlook."

Is there a way for me to disable this on every machine that downloads my plugin or disable it for my specific plugin? The program is written in c#

Many thanks

the message

Upvotes: 0

Views: 95

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66306

Firstly, you should never get that prompt in an Outlook addin as long as you use the Outlook.Application object passed to your addin. Never create a new instance of that object.

To work around that prompt (not that you need to) see http://www.outlookcode.com/article.aspx?id=52 for the detailed list of your options.

Upvotes: 2

Related Questions