I am trying to allow an attachment from an email opened in Novell GroupWise to be deleted in my C # WinForms application. The standard .NET functionality does not work.
In the DragDrop event of the e.Data.GetFormats () control, returns the following.
FileGroupDescriptorW FileGroupDescriptor FileContents attachment format
I can get the file name with e.Data.GetData ("FileGroupDescriptor") and go to position 76.
Unfortunately, e.Data.GetData ("FileContents") raises the first case of a System.NotImplementedException in System.Windows.Forms.dll and returns null. The attachment format also returns null.
My searches tell me that dragging and dropping is a lot more complicated than I thought :) It seems that GroupWise can use the CFSTR_FILECONTENTS format, but this is just an assumption. Attachments can be successfully dragged to the Windows desktop or other folders.
Thanks for any suggestions.
source share