Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I paste from the clipboard into an email?
Message
De
11/07/2006 20:23:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01134758
Message ID:
01135552
Vues:
28
This message has been marked as the solution to the initial question of the thread.
FWIW --

I ended up avoiding any attempt to read the clipboard in VFP by doing the following:
(1) Create Word Application
(2) Paste into Word
(3) Save Word as HTML file (value = 10)
(4) Using CreateMHTMLBody as noted below.

These seems to be working without any difficulty.

Thanks, all

Jim

>If you are using CDO 2000, you can try .CreateMHTMLBody("file://" + lcHtmlFileName) method instead of HTMLBody property.
>
>>
>>I took the HTML and use STRtoFile to put into into a file, which when opened in Word looks just like I want. So it appears that the HTML is OK.
>>
>>So, the culprit must be in the way I'm sending the email. As noted, HTMLBody gives only partial results. Would you know if there are other parameters to pass it?
>>
>>Alternatively, can you suggest an alternative method of sending the email?
>>
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform