I
info
Hi,
I'm desperatly trying to find how I can use drag and drop for an
Outlook 2003 msg towards a VB.Net Windows application. Normally you
should use
Dim theSteam As Stream = CType(e.Data.GetData("FileGroupDescriptor",
True), Stream)
to capture the filename (which works great) and use
Dim ms As MemoryStream = CType(e.Data.GetData("FileContents", True),
MemoryStream)
which returns nothing.
The strange thing is that e.Data.GetDataPresent("FileContents") returns
true.
I also tried to copy an msg file to the clipboard and tried to download
the message from the clipboard into my vb.net application but same
behaviour. I also tested the same thing in c# but no changes. Can
someone please advice what's wrong ? Is this a bug gentlemen from
Microsoft ???
Thx for some feedback !!!
I'm desperatly trying to find how I can use drag and drop for an
Outlook 2003 msg towards a VB.Net Windows application. Normally you
should use
Dim theSteam As Stream = CType(e.Data.GetData("FileGroupDescriptor",
True), Stream)
to capture the filename (which works great) and use
Dim ms As MemoryStream = CType(e.Data.GetData("FileContents", True),
MemoryStream)
which returns nothing.
The strange thing is that e.Data.GetDataPresent("FileContents") returns
true.
I also tried to copy an msg file to the clipboard and tried to download
the message from the clipboard into my vb.net application but same
behaviour. I also tested the same thing in c# but no changes. Can
someone please advice what's wrong ? Is this a bug gentlemen from
Microsoft ???
Thx for some feedback !!!