A program is trying to access your Address Book

B

Brad Ashforth

I am trying to automate Outlook 2003 from MS Access 2003 using the Outlook 10
Object Library. The Access application needs to be able to read the Contacts
and send email. When the code tries to access the Contacts the msg appears.
Sure, a user can click "Allow" but this application is designed to run
unattended. Is there a way to disable this?

Thank you in advanace,

Brad
 
6

'69 Camaro

Hi, Brad.
I am trying to automate Outlook 2003 from MS Access 2003 using the Outlook 10
Object Library.

Then you'll need the Outlook 11.0 Object Library for Outlook 2003, not 10.0.
"A program is trying to access your Address Book..."
When the code tries to access the Contacts the msg appears.

Access has no control over this, but there are a couple of options available
for the E-mail client depending upon whether the mailbox resides on an
Exchange Server or a single workstation. I suggest that you post your
question, along with the mailbox information, to the
Microsoft.Public.Outlook News Groups.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
 
Top