Hi, I use the FolderBrowserDialog in installer class. However, when the dialog box is open, I did not see anywhere where a user can select a folder. Using MessageBox, I saw folder_browser_dialog.RootFolder = "personal". It does not looks like a path. What is the problem here? Or FolderBrowserDialog cannot be used in installer class? Please help me. Many many thanks. Below is the code.
FolderBrowserDialog folder_browser_dialog =
new System.Windows.Forms.FolderBrowserDialog(); folder_browser_dialog.Description = "Select the directory that you want to use to create tickler letters.";
folder_browser_dialog.RootFolder = Environment.SpecialFolder.Personal;
MessageBox.Show(folder_browser_dialog.RootFolder.ToString(), "");
DialogResult result = folder_browser_dialog.ShowDialog();
if( result == DialogResult.OK ) folderName = folder_browser_dialog.SelectedPath;