See
http://www.outlookcode.com/article.aspx?ID=52 for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"spark77" wrote in message ...
Hi,
I am trying to use “Microsoft Outlook Object Library”.
I have found a site, which mentions same.
http://support.microsoft.com/kb/310258
when I try to run the code given in above site I am getting annoying message
saying
"A program is trying to access e-mail addresses you have stored in Outlook.
Do you want to allow this?"
I would like some how, totally avoid this message from appearing on screen.
Is their any coding solution to this problem?
I have found a solution on the web http://www.add-in-express.com and also
“click yes” utility which solves this problem.
But my client doesn’t like to add any third party tool.
Any changes or modification I need to do in the code ?
Please help me.
Regards
Kamath.