0

I can't seem to remember what it's called, nor can I articulate a concise explanation to even begin searching the net. (I tried) Does anyone know what that list of Icons like my computer/mydocuments ect that appear to the left in windows XP open and save dialog boxes? I know that it can be edited. Visual Studio on xp does it for its own dialogs. and I seem to remember that you can globally edit it too.

Does anyone remember its name, or even better know any good links to modifying it in C#. Ultimately what I would like to do is have my application set a directory to that shortcut bar globally in XP and to the treeview favorites in vista and 7 So that when you are working in other applications that use the standard open/save dialogs that it's easy to find the project directory you are working in.

Ideas?, comments? links? the proper name of those icons would be nice too.

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by Diamonddrake
0

that was close enough for me to search and find the answer. Many people call it the sidebar, but its actually called the "Places bar" Thanks Danny.

Edited by Diamonddrake: n/a

1

Apparently there are properties build into the open and save file dialog boxes for doing this.

// Add Pictures custom place using GUID.
    openFileDialog1.CustomPlaces.Add("33E28130-4E1E-4676-835A-98395C3BC3BB");

    // Add Links custom place using GUID
    openFileDialog1.CustomPlaces.Add(
        new FileDialogCustomPlace(
        new Guid("BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968")));

    // Add Windows custom place using file path.
    openFileDialog1.CustomPlaces.Add(@"c:\Windows");

    openFileDialog1.ShowDialog();

But for a more global approach you can modify the registry.

http://www.auxtools.com/placesbar.html

Votes + Comments
He, we should definitly meet in a bar someday !
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.