DirListBox, DriveListBox, FileListBox Controls
Posted on 2000-05-12
I've got these three controls on a form in VB6. When I select a file in the FileListBox, I need to be able to extract the UNC path of the file (i.e. \\server\share\filename.txt) and NOT the drive-letter specified path (i.e. F:\share\filename.txt).
I'm trying to feed command-line parameters to a command-line utility from a GUI VB application. I need to "feed" the command-line program the full UNC path in the form of a string appended to the end of the command (for example, myprog.exe "\\server\share\file.txt").