Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag n Drop to Outlook
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00537343
Message ID:
00537473
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform