all groups > dotnet windows forms > april 2005 >
You're in the

dotnet windows forms

group:

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


major challenge : strange problem with drag&drop of Outlook2003 msg to vb.net form info NO[at]SPAM webflowdesign.be
4/21/2005 4:53:36 PM
dotnet windows forms:
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 !!!
Re: strange problem with drag&drop of Outlook to vb.net form Kristof
5/2/2005 12:42:39 AM
Hi,

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

Thx in advance !

Kristof

[quoted text, click to view]
Re: strange problem with drag&drop of Outlook to vb.net form josef dabernig
7/26/2005 3:42:03 AM
see here:

http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba&tid=6590de18-a08b-45c0-af6e-414d0e5d4f10&cat=en-us-office-outlook&lang=en&cr=US&sloc=en-us&m=1&p=1

the activeexplorer.selection workarround is the only solution i know.

a problem is, that it doesn't work together with advanced search results.
maybe somebody knows, how to get the "active advanced search result
AddThis Social Bookmark Button