R
Radost
Dear All,
At my company we've been using several customized outlook forms. They are
published in the "Organizational Forms Library".
To check the name of the logged-on user, the following code is used:
sCurrentUser = Application.GetNameSpace("MAPI").CurrentUser.Name
The client computers are installed with Outlook 2000.
After some of the latest Outlook Security updates, the following strange
behaviour of the forms appeared: When we try to open a form, an warning msg
appears, saying:
"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 ... minutes"
Is there a work around to prevent this msg from appearing?
It is very annoying for all the users to get this msg all the time when
opening the forms.
Is there a way to define the organizational forms like "secure" and prevent
the appearance of this msg. Anyway, quite high level of privileges are
needed for organizational forms publishing, so why would they be treated as
unsecured ...?
Or, if the problem is only in reading the name of the current user
(Application.GetNameSpace("MAPI").CurrentUser.Name), then is there another
way to get the name of the user, avoiding the security notifications?
We really need these forms working, and working properly, so, please, help!
Uninstallation of the security updates is not on option in our case.
Thank you very much for you help in advance!
Best Regards, Radost
At my company we've been using several customized outlook forms. They are
published in the "Organizational Forms Library".
To check the name of the logged-on user, the following code is used:
sCurrentUser = Application.GetNameSpace("MAPI").CurrentUser.Name
The client computers are installed with Outlook 2000.
After some of the latest Outlook Security updates, the following strange
behaviour of the forms appeared: When we try to open a form, an warning msg
appears, saying:
"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 ... minutes"
Is there a work around to prevent this msg from appearing?
It is very annoying for all the users to get this msg all the time when
opening the forms.
Is there a way to define the organizational forms like "secure" and prevent
the appearance of this msg. Anyway, quite high level of privileges are
needed for organizational forms publishing, so why would they be treated as
unsecured ...?
Or, if the problem is only in reading the name of the current user
(Application.GetNameSpace("MAPI").CurrentUser.Name), then is there another
way to get the name of the user, avoiding the security notifications?
We really need these forms working, and working properly, so, please, help!
Uninstallation of the security updates is not on option in our case.
Thank you very much for you help in advance!
Best Regards, Radost