Outlook displays alert to user when I run my code

  • Thread starter Thread starter Amin Sobati
  • Start date Start date
A

Amin Sobati

Hi,
When I try to create a new mail item from my code(vb), outlook displays an
alert to user indicating that a program is trying to access outlook. I need
to do my job without user's interaction.
How can I disable this alert or what is the right code for his purpose?
Thanks,
Amin
 
Hi,
When I try to create a new mail item from my code(vb), outlook displays an
alert to user indicating that a program is trying to access outlook. I need
to do my job without user's interaction.
How can I disable this alert or what is the right code for his purpose?

Which version of Outlook? Under version 9 (aka 2000), I recommend
looking at "OL2000: Administrator Information About the Outlook E-mail
Security Update"
<http://support.microsoft.com/default.aspx?scid=kb;EN-US;263297>.

In short: Installing a new form into a special Public Folder and some
registry changes will, on a per-user basis, allow VBA code to be
executed without alerts. I don't know enough about later Outlook
versions.

Alternatively, look at ClickYes
<http://www.express-soft.com/mailmate/clickyes.html>. Quote:
"Express ClickYes is a tiny program that sits in the taskbar and clicks
the Yes button on behalf of you, when Outlook's Security Guard opens
prompt dialog saying that a program is trying to send an email with
Outlook or access its address book."

Good luck.
 
Back
Top