Question

I am working with some of the cloud saving services and would like to allow the user to save new documents created to their service of choice online. I want to use the regular save dialog but provide the folder structure gathered from their account to determine the path where I will upload the file.

I've found some examples of how to customize the save dialog but it still keeps the core functionality of saving to the local computer, I haven't found any examples of how to change that.

Are there any examples out there on how to do this Or is there a better way to be doing this that is still intuitive for the user?

Was it helpful?

Solution

It is possible if you create a shell namespace extension that expose your cloud service as shell folders. However Microsoft does not support writing one in C# because your extension would be loaded into any process that opens a file dialog.

An alternative way is to ask the user to save to a folder that is synced to a cloud storage via some background service. You can even limit where the user can save files in your file dialog.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top