How to use SaveFileDialog for folder name not file name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a button for user to click and specify a folder destination, not file
name, for example: "C:\foldername1", and this path will appear to a text box.
How do I do it by using SaveFileDialog in window application C#?

Thanks,

Sophie
 
Never mind my question. I change it to use FolderBrowserDialog, it worked.

Thanks.

Sophie
 
Back
Top