Security issues: accessing MS Outlook information

I'm maintaining a VBA subroutine in a MS Word document that queries MS Outlook for user information.
When this query occurs, the user gets a message stating that "A program is trying to access e-mail addresses you have stored in Outlook." It also suggests that this could be because of a virus. Is there a way to pre-emptively circumvent this using a digital certificate or something similar?
I'm using Office 2003 under Windows XP.
TheTaxManAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alexey_KCommented:
Hi,

This link will help
http://www.microsoft.com/resources/documentation/office/2003/all/reskit/en-us/oe_outg03.mspx

That sentence is very important "Outlook must be running in classic online mode in order to save security settings, not cached mode nor offline mode."
0
CAVccCommented:
This is a security measure built into Outlook to notify user of programmatic background use...

This article explains what happen and maybe it will help you...

http://support.microsoft.com/kb/262701
0
TheTaxManAuthor Commented:
Cavcc,

I think your answer is most relevant to my problem. Do you know if a digital certificate (or anything) can be used to make the message go away before it appears? Basically I want the MS Word template to tell Outlook to "trust" the programmatic access attempt.

TheTaxMan
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

CAVccCommented:
How is email stored?  PST on client, or mailboxes...  And I guess while we're in twenty question mode,  what are you actually trying to do?  Query User information?
Machine user information?  Logon?  There are other ways to find out who is logged onto the machine, if that is what we are trying let me know...  Microsoft doesn't let that information be very public...  we would then have many more viruses than we already do.....

Chris
0
TheTaxManAuthor Commented:
We use mailboxes on a mail server. We have a global address book on this server. I am trying to get the user's full name and fax number. The only reliable source of this info is the Outlook address book.
0
Alexey_KCommented:
You cannot use digital certificates for VBA code to skip the security warning in Outlook like you are able to do that in Word, Excel, etc. The only thing you can do -- disable this security warning using "Outlook Security Template". Check my first message for the solution of your problem. Or go straight to http://www.microsoft.com/resources/documentation/office/2003/all/reskit/en-us/oe_outg03.mspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.