drop attachment into vb, vb6, vba app
Dropping an attachment from GroupWise into a vb6 program fires the
OLEDragDrop event. Two formats work with the GetFormat and GetData
methods on the data object. Unfortunately, the integer values for these
formats change when I reboot the machine, and they are not the same on
other machines.
When the first drop is done I could do a discovery loop to see what
works, then save those values, but there should be a better way.
Each of the formats returns a special data structure. One gives a list
of file names in the temp folder where the selected attachments were
extracted. The other gives details about extracted attachments such as
size and original file name. Where is the record layout or data
structure documented for these?
Thanks
Last edited by kgroneman; 28-May-2009 at 02:20 PM..
|