Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting lost in Microsoft Outlook 2000 Body Property
Message
De
15/02/2001 16:48:10
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
15/02/2001 09:17:26
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00476153
Message ID:
00476488
Vues:
26
Hi John,

I've tried the HTMLBody property too. When I open the Email and click on Format, the 'Plain Text' option is checked. I originally thought the problem might be that it's a 'Rich Text' format, but it's just plain text. I'm running the application on W2K and I can see the Japanese text just fine when I look at the Email through Outlook, but as soon as I access the Body property via code the Japanese text is shown as question marks.

Thanks,
Gavin...

>Hi Gavin,
>
>Have you tried looking at the contents of the HTMLBody property?
>
>
>>
>> I'm currently working on a project which requires taking text from the body of an outlook mail message. Some of the text is in Japanese, when I use the body property using outlook automation the japanese text is converted to question marks. I've found an article in the outlook knowledge base which states:
>>
>>"The Outlook user interface allows you to apply various formatting to mail
>>messages, but when you use the Body property from Microsoft Visual Basic
>>Scripting Edition (VBScript) or Microsoft Visual Basic for Applications, all of
>>the text formatting is lost. This is because in the Outlook object model, the
>>data type of the Body property is text, so it behaves no differently than other
>>types of controls, such as a label or text box."
>>
>>Does anyone know if text other than Roman characters is treated as formatted? If this is the case then it will explain why the japanese is turning to question marks. I'm checking here before I fork out $300 logging a support call with Microsoft.
>>
>>Thanks,
>>Gavin...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform