A
alf
Hi,
I am using a FolderBrowserDialog to allow the user to select a folder
as follows:
FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
folderBrowserDialog1.RootFolder =
System.Environment.SpecialFolder.MyComputer;
folderBrowserDialog1.SelectedPath = "D:\\";
folderBrowserDialog1.ShowDialog();
I want the dialog to come up with Local Disk(D
selected, but instead
just My Computer is selected, though D: appears in the list.
If I replace "D:\\" with "C:\\", "E:\\" or "F:\\" it gets selected OK,
it's just drive D that it doesn't like. I can select drive D in the
dialog, and ShowDialog() returns with SelectedPath set to "D:\\"
correctly.
C:\ and D:\ are local hard drives, E:\ is a DVD-ROM and F:\ is a USB
flash card.
I hope someone here can help me, I can't understand what is going on.
Thanks,
A
I am using a FolderBrowserDialog to allow the user to select a folder
as follows:
FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
folderBrowserDialog1.RootFolder =
System.Environment.SpecialFolder.MyComputer;
folderBrowserDialog1.SelectedPath = "D:\\";
folderBrowserDialog1.ShowDialog();
I want the dialog to come up with Local Disk(D

just My Computer is selected, though D: appears in the list.
If I replace "D:\\" with "C:\\", "E:\\" or "F:\\" it gets selected OK,
it's just drive D that it doesn't like. I can select drive D in the
dialog, and ShowDialog() returns with SelectedPath set to "D:\\"
correctly.
C:\ and D:\ are local hard drives, E:\ is a DVD-ROM and F:\ is a USB
flash card.
I hope someone here can help me, I can't understand what is going on.
Thanks,
A