File drag and drop with Windows Vista

A

Andrea

How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea
 
C

Chan Ming Man

The only thing I can say is, have you tried SP1 beta for VS 2005? I do
believe some code does not really supported in Vista so we need to find the
workaround.

chanmm
 
W

Willy Denoyette [MVP]

Andrea said:
How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea


This should work as it did on XP, at least it works for me, running Vista RTM.

Willy.
 
A

Andrea

This should work as it did on XP, at least it works for me, running Vista RTM.

Willy.

I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.
 
C

chanmm

Have you tried to run your application as administrator, right click your
application and choose Run as administrator?

chanmm
 
W

Willy Denoyette [MVP]

Andrea said:
I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.


Only thing I can suggest is to post to one of the Vista forums (forums.msdn.microsoft.com).
That said, I don't believe it's a security problem, unless the drop target runs at "low"
integrity level.

Willy.
 

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