Click here to Skip to main content
15,886,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Drag And Drop Files Into C# Application Work Doesn't Work IF I Run My Application As Administrator
What Should I Do If I Want To Use Drag Drop And Also I Should Run Application As Admin?
Posted

1 solution

You can't drag files from a low-privilege application onto a higher privilege one: that is by design: MSDN Q: Why Doesn’t Drag-and-Drop work when my Application is Running Elevated?[^]

However, you may be able to find a solution here: http://helgeklein.com/blog/2010/03/how-to-enable-drag-and-drop-for-an-elevated-mfc-application-on-vistawindows-7/[^] - but frankly, I doubt it will work too easily in a .NET application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900