This article is a mirror article of machine translation, please click here to jump to the original article.

View: 23458|Reply: 2

[Source] WinForm runs dragdrop event as administrator and does not trigger, please tell me how to solve it

[Copy link]
Posted on 3/11/2016 9:28:04 PM | | |
WinForm runs dragdrop event as administrator and does not trigger, please tell me how to solve it
You can't drag and drop files

Winform running dragdrop event as administrator does not trigger, how to solve it?
As the question, I made a winform before and needed to read the txt file, and later found that I could not complete the reading without permission on other people's computers, and the program would have problems, but put
requestedExecutionLevel level="asInvoker is changed to requireAdministrator, and the dragdrop event is not fired
------ solution ideas----------------------
You can't drag and drop between processes at different levels
You can put code that requires admin privileges into another process and start it when you need it.








Previous:win8/8.1 can't drag files to open the local solution
Next:Use of WPF Timer
 Landlord| Posted on 3/17/2016 12:01:49 PM |
You can't drag and drop between processes at different levels
Posted on 3/17/2016 1:12:12 PM |
Huh
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com