简体   繁体   中英

RemoteApp Drag-and-Drop

I successfully managed to implement file drag-and-drop onto my Winforms application.

However, when running it as a RemoteApp, drag-and-drop is disabled.

Is there a way around, using a "copy" of the dragged file in the clipboard (as copy-paste works) onto the host machine, say in the DragOver event?

If so, what are the related security issues, if any?

It requires first that users have a mapped drive that is accessible from both their desktop and the RDS servers. Next, publish explorer.exe as a RemoteApp. Change parameters to use this only and set the path of the mapped drive (and any subfolder within) that you'd like to have them drag and drop from. We had to do this for a customer who uses attachments in Quickbooks. I created a RemoteApp mapped to a scanned documents folder on their network so they could drag and drop PDF files into Quickbooks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM