PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Program access to Outlook gives warning messages
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Program access to Outlook gives warning messages
![]() |
Program access to Outlook gives warning messages |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I wrote some vba program from say Excel environment to automate Outlook. The
functions are, such as: 1) to automate sending reports via Outlook email client 2) to extract email data from specific folder of Outlook To run the programs in one PC (w2k machine, nothing special), they all run fine, no warning messages at all. BTW, Outlook normally extracts emails from an Exchange server. But when I run it in another machine (wxp, and everything seems the same as in the first machine), it gives me a message "A program is trying to automatically sending emails on your behalf, do you want to allow this (yes, no) when running the first function. When the second function is run on the second machine, it gives the warning: a program is trying to access email-address stored in outlook (which my program doesn't), do you want to allow this? If this is unexpected, choose no... and then my choice to allow access for my specified time in minutes. Who knows what is happening? The outlook of the second machine is 2002. Can't remember for the first one.. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
See http://www.outlookcode.com/d/sec.htm for your options with regard to the
"object model guard" security in Outlook 2000 SP2 and later versions. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "ykffc" <ykffc@discussions.microsoft.com> wrote in message news:39651474-0004-48BD-AA5F-30C5EB6A2D77@microsoft.com... >I wrote some vba program from say Excel environment to automate Outlook. >The > functions are, such as: > 1) to automate sending reports via Outlook email client > 2) to extract email data from specific folder of Outlook > > To run the programs in one PC (w2k machine, nothing special), they all run > fine, no warning messages at all. BTW, Outlook normally extracts emails > from > an Exchange server. > > But when I run it in another machine (wxp, and everything seems the same > as > in the first machine), it gives me a message "A program is trying to > automatically sending emails on your behalf, do you want to allow this > (yes, > no) when running the first function. > > When the second function is run on the second machine, it gives the > warning: > a program is trying to access email-address stored in outlook (which my > program doesn't), do you want to allow this? If this is unexpected, > choose > no... and then my choice to allow access for my specified time in minutes. > > Who knows what is happening? The outlook of the second machine is 2002. > Can't remember for the first one.. > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

