I can drag email messages from Outlook 98 and Outlook Express to the desktop or an explorer window and save the message(s) as files. (subject text.msg)
I am trying to code for having Outlook messages dropped on a form in my VFP application and have VFP save the file(s), but I am having difficulty because the file contents are passed as "stream" data, and I cannot get VFP to read the contents of the files.
There are 2 data formats that are dropped from the data object that the windows shell uses to receive the files from Outlook, "FileGroupDescriptor" which holds the number of files passed, as well as an array of "FileDescriptor" structures that give, among other things, the names of the files that are being passed. The second data format passed is called "FileContents" and it is of type "stream" and I cannot get VFP to recognize it at all. Has anyone found a workable method of incorporating OLE Drag & Drop from Outlook & Outlook Express into a VFP application?
-Lou Harris.
"All my life I said I wanted to be someone ...
I can see now that I should have been more specific." -Jane Wagner