SaveFileDialog - get the remembered path before displaying.

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

OK. Whenever you display a SaveFileDialog it automatically displays
the last folder you were in the last time a save was done.

Is there a way you can get that folder before displaying it? I can't
see anything. The InitialDirectory and FileName properties are ""
when you start out. But then when you display the dialog, it knows
the last place.

Is there a way to get it before displaying it?

Thanks...
 
I believe The SaveFileDialog changes the current folder, so
Directory.GetCurrentDirectory should do it for you.
 
Back
Top