Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I paste from the clipboard into an email?
Message
From
11/07/2006 20:23:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01134758
Message ID:
01135552
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform