Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I paste from the clipboard into an email?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01134758
Message ID:
01135037
Views:
19
James,

When a fragment of Excel spreadsheet is copied to the Clipboard, a stunning number of different formats appears there, more than 20.

They include text, XML Spreadsheet, CSV, HTML Format, handles to bitmap and metafile structures. Lots of formats to choose from. Especially HTML Format, this part can be embedded in email message practically as is.

Though embedding it in email message -- in my opinion -- may require some programming that uses Simple MAPI or Winsock.

Enumerating data formats currently available on the clipboard
http://www.news2news.com/vfp/?example=32

Storing content of the Clipboard to a bitmap file
http://www.news2news.com/vfp/?example=189

An image of Excel page also exists on the Clipboard after CTRL+C pressed -- readonly one but with all borders, shades and pictures unchanged. It can be stored to a file and attached to email message.
Previous
Reply
Map
View

Click here to load this message in the networking platform