Nelviticus
Programmer
I have built a small tool that requires users to open a file that can be stored on one of our many web servers. None of the drives are mapped but all are accessible via a UNC path such as \\<server name>\<drive letter>$\<path>.
I'm currently using OpenFileDialog. This gives you a standard Windows 'open file' dialog box with a 'look in' drop-down at the top and a 'my network places' link on the left. However, there is nowhere for you to manually type the file path.
The directories I need to reach do not appear in the 'look in' drop-down because they are not mapped and although you can navigate to the servers via 'my network places' you only see their shared web folders, not the servers' hard drives.
I happen to have a shortcut on my desktop to one of these drives and if I use the file dialog box to navigate to the shortcut and then double-click it, it takes me to the right place. However, if the user doesn't have a shortcut they can't use the file dialog to navigate there!
Does anyone have any ideas for getting around this? The open file dialog is capable of reading the server's drive but I can't see a way of pointing it there other than by a shortcut that has to be set up beforehand.
Regards
Nelviticus
I'm currently using OpenFileDialog. This gives you a standard Windows 'open file' dialog box with a 'look in' drop-down at the top and a 'my network places' link on the left. However, there is nowhere for you to manually type the file path.
The directories I need to reach do not appear in the 'look in' drop-down because they are not mapped and although you can navigate to the servers via 'my network places' you only see their shared web folders, not the servers' hard drives.
I happen to have a shortcut on my desktop to one of these drives and if I use the file dialog box to navigate to the shortcut and then double-click it, it takes me to the right place. However, if the user doesn't have a shortcut they can't use the file dialog to navigate there!
Does anyone have any ideas for getting around this? The open file dialog is capable of reading the server's drive but I can't see a way of pointing it there other than by a shortcut that has to be set up beforehand.
Regards
Nelviticus