Hi Guys,
I have create a folder on my C: drive that contain shortcuts to Microsoft office programs such as word, excel and Power point.
i have created a WPF application in that application i have created a button : what i wanted to achieve is to be able when clicked on that button I only wanted to open the folder directly to show the shortcuts.
Is the above achievable ?
I have tried the following but not what i want
- public static void OpenFolder()
- {
- FolderBrowserDialog openFol = new FolderBrowserDialog();
- openFol.ShowNewFolderButton = false;
- DialogResult result = openFol.ShowDialog();
- if (result == DialogResult.OK)
- {
- openFol.SelectedPath = @"C:\Users\XXX\Desktop\wpf";
- string foldername = openFol.SelectedPath;
- }
-
- }