major challenge : strange problem with drag&drop of Outlook2003 msg to vb.net form

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 !!!
 
K

Kristof

Hi,

Can anyone please help me with this ?
It's really causing me headaches.

Thx in advance !

Kristof
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top