Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

File drag and drop with Windows Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrea - 23 Nov 2006 21:21 GMT
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
Chan Ming Man - 27 Nov 2006 11:14 GMT
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

> 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
Willy Denoyette [MVP] - 27 Nov 2006 12:14 GMT
> 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.
Andrea - 27 Nov 2006 22:45 GMT
>> How can I drag and drop files from Explorer to my .NET application in
>> Vista?
[quoted text clipped - 6 lines]
>
>Willy.

I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.
chanmm - 28 Nov 2006 15:23 GMT
Have you tried to run your application as administrator, right click your
application and choose Run as administrator?

chanmm

>>> How can I drag and drop files from Explorer to my .NET application in
>>> Vista?
[quoted text clipped - 11 lines]
> security problem. Any suggestions?
> Thanks.
Willy Denoyette [MVP] - 28 Nov 2006 16:29 GMT
>>> How can I drag and drop files from Explorer to my .NET application in
>>> Vista?
[quoted text clipped - 10 lines]
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.