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 18:39:18
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:
00476532
Vues:
23
Hi John,

The wierdest thing just happened. I tried running my app on a Win98 machine with no Japanese Language support kit and the question marks no longer appear. The Japanese text is coming up like '‚½E‚΂½‚¯'. When I export this data to a text file and copy it over to my W2K machine and change the Font to Japanese it comes up perfectly. I don't understand it, if you have Japanese Language support installed and try to look at the .Body property in outlook, question marks come up, but if you have no Japanese Language support then the question marks don't come up. It's as though having Japanese Language support is trying to convert the text to Japanese and failing, but if you have no japanese language support then it works. Very bizzare !!!

Regards,
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