Currently I am looking at the SaveFileDialog but I do not see any way of allowing users to set custom attributes. Does anyone know how I can prompt the user for custom attributes at the same time.
The screenshot below is from Excel 2010 and is doing exactly what I would like to accomplish.
Any thoughts on how I might accomplish the same thing?
The SaveFileDialog component allows users to browse the file system and select files to be saved. The dialog box returns the path and name of the file the user has selected in the dialog box. However, you must write the code to actually write the files to disk.
Developing AutoCAD Plugins using VB.NET with Windows FormsThe SaveFileDialog control prompts the user to select a location for saving a file and allows the user to specify the name of the file to save data. The SaveFileDialog control class inherits from the abstract class FileDialog.
I don't think you can do that without "extending" the SaveFileDialog
or creating your own form.
I've found a few links you may find interesting:
Adding a control to a SaveFileDialog
Extending OpenFileDialog and SaveFileDialog
They do seem "hackish" though.
Here are a few user controls that may help you if you decide to roll up your own form, though it's a pity if you really have to "reinvent" the wheel.
Explorer Tree
FileBrowser
Good Luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With