Computer Science Canada Visual C# Question: Folder Dialog Displays |
Author: | rar [ Tue Jun 29, 2010 12:11 pm ] |
Post subject: | Visual C# Question: Folder Dialog Displays |
So I'm making a program where I will need to have the user browse for and select a folder. A normal browse dialog box will pop up and the user will select a folder from there. Then, the folder will be displayed in a dialog box on the form. How do I make this happen in Visual C#? Any hints, directions? I've never done anything like this before, it's all a learning experience. |
Author: | TerranceN [ Tue Jun 29, 2010 1:09 pm ] | ||
Post subject: | RE:Visual C# Question: Folder Dialog Displays | ||
First create a label, a button and a FolderBrowserDialog. Double click the button to access its button_click code, then add these two lines:
Hope that helps. |
Author: | rar [ Tue Jun 29, 2010 2:01 pm ] |
Post subject: | RE:Visual C# Question: Folder Dialog Displays |
hey that's great! Thanks. |