I tested the code today on Outlook 2007 and it will not display the
attachment. This time I suspect a switch in Outlook preventing some
behaviour. I have tried turning off Anti-Virus and Firewall but no change.
Is there anything different that must be done for attachments to be parsed
to Outlook 2007?
TIA
Peter
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter Batten" <data...@tpgi.com.au> wrote in message
news:47ff44c3$1...@newsgroups.borland.com...
SafeItem :=
CreateOLEObject('Redemption.SafeMailItem'); // 'Create an instance of
Redemption.SafeMailItem
oItem := MSOutLook.CreateItem(olMailItem);
SafeItem.Item := oItem; // 'set Item property
SafeItem.Item := oItem;
MyRecipient := SafeItem.Recipients.Add(ConnectNumber);
MyRecipient.Type := olTO;
SafeItem.Subject := edHeading.Text;
MyAttachments := oItem.Attachments
MyAttachments.Add(slAttachmentFiles[i],olByValue);
oItem.Body := reParagraphs.Text;
oItem.Display(True);
I tried with Trust Center -
Macro Security - No security check for Macros(not recommended) checked and
it worked.
Went back to
Warnings for signed macros; all unsigned macros ar disabled and it failed
Went back to
Macro Security - No security check for Macros(not recommended) checked and
it failed and I heve not been able to repeat the successful attachment
Regards
Peter.
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:47ff9ee6$1...@newsgroups.borland.com...
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter Batten" <data...@tpgi.com.au> wrote in message
news:47ff...@newsgroups.borland.com...
I can't get the any attachments to display or send with Outlook 2007.
I have tried on our development platform with Vista Outlook 2007 and at a
client site with XP and Outlook 2007
Other versions of Outlook work just fine with my code and with and without
Redemption.
Are you saying that you can attach an attachment to Outlook 2007?
Regards
Peter
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:480af15f$1...@newsgroups.borland.com...
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:480e...@newsgroups.borland.com...
I have not altered the code and I do not know what changes I have made in
Outlook as I tried many but I thought that I had reset them to the defaults.
Now however Outlook will not launch if it is already open on the desktop,
EoleSysError 'server execution failed'
at
MSOutlook := CreateOLEObject(Outlook.Application)
Peter
"Peter Batten" <data...@tpgi.com.au> wrote in message
news:480e68aa$1...@newsgroups.borland.com...
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Peter Batten" <data...@tpgi.com.au> wrote in message
news:480e73e3$1...@newsgroups.borland.com...
It is a regular .exe calling
MSOutlook := CreateOLEObject(Outlook.Application)
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:480e869c$1...@newsgroups.borland.com...
Thanks Dmitry
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:480af15f$1...@newsgroups.borland.com...
Peter
"Peter Batten" <data...@tpgi.com.au> wrote in message
news:480feec1$1...@newsgroups.borland.com...