J
Joseph Geretz
Our application allows the to drag files from the Windows shell and drop
them onto our application. We handle the drop via the OLEDragDrop event. In
this event we use the following check to ensure that we're getting one (or
more) file(s) dropped onto our control.
If Data.GetFormat(vbCFFiles) = True Then ...
If so, we proceed to process the files.
It was recently brought to my attention that dragging an e-mail attachment
does not process the attachment into our application. Sure enough, I stepped
through the code and discovered that Data.GetFormat(vbCFFiles) returns False
for an e-mail attachment. How can I process e-mail attachments as the source
for an OLEDragDrop operation?
Thanks for your help,
- Joe Geretz -
them onto our application. We handle the drop via the OLEDragDrop event. In
this event we use the following check to ensure that we're getting one (or
more) file(s) dropped onto our control.
If Data.GetFormat(vbCFFiles) = True Then ...
If so, we proceed to process the files.
It was recently brought to my attention that dragging an e-mail attachment
does not process the attachment into our application. Sure enough, I stepped
through the code and discovered that Data.GetFormat(vbCFFiles) returns False
for an e-mail attachment. How can I process e-mail attachments as the source
for an OLEDragDrop operation?
Thanks for your help,
- Joe Geretz -