A program is trying to access email

S

Stan Guss

In my custom form I have the following code:

Set olApplication = CreateObject("Outlook.Application")
Set olNameSpace = olApplication.GetNamespace("MAPI")

Dim strCurrentUser
CurrentUser = olNameSpace.CurrentUser
Item.UserProperties.Find("txtProdMgr").Value = CurrentUser

Although this does not happen in Outlook 2000, in 2002 a
dialog box pops up saying that "A program istrying to
access e-mail addresses you have stored in Outlook. Do you
want to allow this? If this is unexpected, it may be a
virus and you should choose "No".

Is there a way to programmatically disable this? I just
want the current users log-in.

Thank you in advance.
 
P

Patricia Cardoza - [MVP Outlook]

You have a couple of options.

If you are in an Exchange environment, you can download and install the
Administrative options package. This will allow you to configure the
security update.

If you are not, your best option would be to use a third party tool called
Redemption (www.dimastr.com/Redemption).

For more information abuot the security update, see :
http://www.slipstick.com/outlook/esecup.htm


--
Patricia Cardoza
Outlook MVP

Author, Special Edition Using Microsoft Outlook 2003

***Please post all replies to the newsgroups***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top