Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag n Drop to Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00537343
Message ID:
00537473
Vues:
19
Nevermind - I worked it out. It's pretty simple, actually. Hardest parts is finding the right format codes.

Since I am sending the info as a file attachment, I simply set the object's OleDragMode to Automatic, then in the OleStartDrag Method, do:

lcFilePath=path_to_my_attachment
oDataObject.SetFormat(15) &&Indicates that it is a file
oDataObject.SetData(lcFilePath, 15)

Michael

>I'd like to use Ole drag and drop to enable users to drag a PDF document displayed in my VFP app into Outlook as an attachment.
>
>Any guidelines out there - especially the data type I need to set to make Outlook accept it?
>
>TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform