--- title: "How To: Add a Custom Place to a File Dialog Box" ms.date: "03/30/2017" dev_langs: - "csharp" - "vb" helpviewer_keywords: - "Custom Place to dialog box" - "adding Custom Place to dialog box" - "CustomPlaces collection" ms.assetid: 63f6469b-59cd-40f6-9e61-8b5831856780 --- # How To: Add a Custom Place to a File Dialog Box The default open and save dialog boxes on Windows Vista have an area on the left side of the dialog box titled **Favorite Links**. This area is called custom places. The and classes allow you to add folders to the collection. > [!NOTE] > In order for a custom place to appear in the or , the property must be set to `true` (the default). ### To add a custom place to a file dialog box - Add a path, a Known Folder GUID, or a object to the collection of the dialog box. The following code example shows how to add a path: ```vb OpenFileDialog1.CustomPlaces.Add("C:\MyCustomPlace") ``` ```csharp openFileDialog1.CustomPlaces.Add("C:\\MyCustomPlace"); ``` ## See also - - - [Known Folder GUIDs for File Dialog Custom Places](known-folder-guids-for-file-dialog-custom-places.md)