Trouble executing Wayne Phillip's Outlook Security Warning Suppression Code

Premy

Registered User.
Local time
Today, 00:09
Joined
Apr 10, 2007
Messages
196
Hi there,
I copied the code from www.everythingaccess.com which should enable one to suppress the annoying security warning in outlook, but I can only get it to work if I start Outlook up beforehand. With OL not running I get a 438 error saying the object does not accept this method/property. Tried changing to early binding (yes, contrary to directives) but to no avail.

Things grind to a halt exactly when the code is trying to call the presumably exposed Outlook function:

blnSuccessful = objOutlook.FnSendMailSafe(strTo, strCC, strBCC, _
strSubject, strMessageBody, _
strAttachmentPaths)

I'm using xp pro sp2, Access 2003, Outlook 2003. Do any of u guys have an idea of what might be wrong?

Appreciate,
Premy
 

Users who are viewing this thread

Back
Top Bottom