If your code in running in a COM addin or Outlook VBA project in Outlook
2003 the warning won't appear if you derive all your Outlook objects from
the Application object passed to you in On_Connection in a COM addin or the
intrinsic Application object in Outlook VBA.
Otherwise you would need to use Extended MAPI code or Redemption code to
avoid the prompt, or permit the methods and properties you need in the
Outlook security form if you are using Exchange server, or use Express
ClickYes which uses SendKeys to answer the prompts. I think ClickYes has
some security problems, I use Redemption myself. And using that I can get at
the MAPI properties of an AddressEntry object so I don't need any
workarounds and can read the properties if I need to use them in code.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"miaplacidus" <(E-Mail Removed)> wrote in message
news:29f1601c46529$87c9a460$(E-Mail Removed)...
> I was afraid of that. Meanwhile I have a temporary fix
> that pops up the AddressEntry.detail form. but before it
> pops up I get a warning message from outlook that
> says "another program is trying to access email addresses
> stored in outlook. Do you want to allow this?"
>
> Can I bypass that message?