Outlook 2002 and custom forms

Uggh! I have created some custom forms with vb script inside of them, and one of the things I do, is check to see who the user is that is logged into the system and use their data to autofill some areas, such as name, phone number etc. This works fine in Outlook2000, however in Outlook 2002, I receive the error message:

A program is trying 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.

allow access for x minutes.
How can I get Outlook2002 to TRUST my form, so that users aren’t bothered by this?

This form is currently stored in the organizational forms library, but I am not adverse to placing it in a public folder if that will solve the problem

Microsoft’s answers:



thanks, however, is this stating that there is no way around my specific error? It appears that the user will always see this, and have to hit yes and choose a time.

I don’t think that’s going to go over too well

Depending on your code, the first link does have sample code that doesn’t raise the security warning: