Save As

  • Thread starter Thread starter SCMAIN
  • Start date Start date
S

SCMAIN

On the left side of the save-as dialog box, it shows various places in which
you can save a file - desktop, my documents, my computer, etc. If I have a
specific folder in which I store files, isn't there a way to make that foldre
appear in this list?
 
You mean programmatically? You're in a programming newsgroup. Are you doing
C# or VB, and what version of .Net are you using?

RobinS.
 
Hi,
The SaveFileDialog class has a list of custom places, this is the list you
see on the right ("favorite links") to add any custom location all you need
do is the following:

SaveFileDialog SDlg = new SaveFileDialog();
SDlg.CustomPlaces.Add(@"**insert folder path here**");

or you can use one of the other overloads.

Michael Powell
Ramuseco ltd .NET consulting
 
As Mike Powell has already indicated, you can add an entry to the dialog's
CustomPlaces collection. If you do this, be sure to also set the dialog's
AutoUpgradeEnabled property to true.

/ravi
 
Back
Top