C
Conan Kelly
Hello all,
I hope this is the right NG to post this question in!!! (if there is a
better one, please let me know)
I'm using VB.NET in a Script Task in an SSIS Package (SQL Server 2005
Integration Services).
I found the FolderBrowserDialog Class and I think that is almost exactly
what I want (I'm browsing for a folder...not a file).
The only issue I'm having with FolderBrowserDialog is the RootFolder
property. It appears that my only options for RootFolder is special folders
(My Computer, My Documents, Desktop, etc...). The problem is the folder I
want to start in is not a special folder...it is a network share
(\\Server\Share\Subfolder). RootFolder won't accept this.
A much better option would be the FolderBrowserDialog with an
InitialDirectory property (just like the one in the OpenFileDialog). I
don't suppose there is anything out there like that?
Right now my work-around is using the OpenFileDialog and selecting a file
with in the folder that I want to process. Then (using LEFT(), INSTRREV(),
& LEN()) I get the folder from the path of the file. I don't care for this
and would much rather use something like the FolderBrowserDialog.
Thanks for any help anyone can provide,
Conan Kelly
I hope this is the right NG to post this question in!!! (if there is a
better one, please let me know)
I'm using VB.NET in a Script Task in an SSIS Package (SQL Server 2005
Integration Services).
I found the FolderBrowserDialog Class and I think that is almost exactly
what I want (I'm browsing for a folder...not a file).
The only issue I'm having with FolderBrowserDialog is the RootFolder
property. It appears that my only options for RootFolder is special folders
(My Computer, My Documents, Desktop, etc...). The problem is the folder I
want to start in is not a special folder...it is a network share
(\\Server\Share\Subfolder). RootFolder won't accept this.
A much better option would be the FolderBrowserDialog with an
InitialDirectory property (just like the one in the OpenFileDialog). I
don't suppose there is anything out there like that?
Right now my work-around is using the OpenFileDialog and selecting a file
with in the folder that I want to process. Then (using LEFT(), INSTRREV(),
& LEN()) I get the folder from the path of the file. I don't care for this
and would much rather use something like the FolderBrowserDialog.
Thanks for any help anyone can provide,
Conan Kelly