Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook 2002/XP/Outlook 2000 RTF Body
Message
 
 
À
17/11/2001 13:08:57
Larry Anderson
Greenfield Software
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00583130
Message ID:
00584982
Vues:
21
According to mskb#Q312168 it is unsupported by MS feature of Outlook 2000 that doesn't work in any other version of Outlook.

>Has anyone come across the difference between the BODY property of an Outlook 2000 MAILITEM object and the same property of the same object in Outlook 2002 aka Outlook 10?
>
>Our Foxpro 6 app has code to create RTF emails through Outlook which works fine in outlook 2000 but now just shows the RTF data as plain text including all the RTF formatting when using outlook 2002? There would seem to be a new property of the mailitem object called bodyformat but setting this to RTF makes no difference. Why why why why?????
>
>So following code worked fine until upgrading to Office XP:
>
>#DEFINE olMailitem 0
>#DEFINE olFormatRichText 3
>
>oOL = CreateObject("Outlook.Application")
>oMail = oOL.CreateItem(olMailItem)
>
>
>WITH oMail
> .Subject = 'Test'
> .BodyFormat = olFormatRichText
> .Body = FILETOSTR('G:\Grow439\GMWORK\testrtf.rtf')
> oRecip = .Recipients.Add('a@b')
>
> .Save()
> .Display(.T.)
>ENDWITH
>
>oOl=.NULL.
>
>This code also results in two security prompts from outlook 2002 before completing! Any thoughts or ideas on this would be very much appreciated.
>
>Best regards
>
>Larry
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform