Open / Save dialog box using Windows Forms

Is there a way to create a workbook and display the open / save dialog using a Windows Form? I would like to create the workbook in memory (without saving it to any physical location), and prompt the user to see if they just want to view the file or save it.

Thanks.

Hi,

Thanks for considering Aspose.

Well, It's a default behaviour for a web application. I think you may create your own custom dialog box "File Download" with three buttons on it i.e. "Open", "Save", "Cancel" for your winforms. Clicking on the "Open" button will use System.Diagnostics.Process.Start(fileName) to open and view the excel file into browser. On the "Save" button, you may use SaveFileDialog box to save the file to a physical location.

Thank you.