Question

I have a winforms application running over Remote Desktop, which uses SaveFileDialog to set the path where a csv file should be saved. When application is running over remote desktop, the dialog shows drives on the Server.

How can I provide functionality to save the file on the Client machine instead?

Était-ce utile?

La solution

Simple answer - You cannot. The reason is because you are in a remote machine and that machine cannot see your local system's hard drives. As a workaround you may consider mapping a local drive to your remote machine and that will show up in the save file dialog.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top