Hi
To my knowledge, the FolderBrowserDialog only shows folders/paths that
are available from the local machine. If a server has a share you can
get to it through the share name, however this is not what I'm after. I
would like to see C:\..., D:\... as if the dialog had been opened on
the server, this would be different from the structure shown on the
local machine. Again the only example of this I can point to is the way
SQL Server Enterprise Manager does it with new database files.
If the FolderBrowserDialog can do this then I would be greatful if you
could let me know how to set it up to use a file structure on another
machine.
Thanks
Russell Mason
Tim Scott - 08 Feb 2006 02:50 GMT
Russell,
Ah, I missed the remote part--sorry about that. I'm not aware of any
component that does that (except for the SQL dialog that you
mentioned).
You could write your own, but it would take a bit of time.
Is there a service or program running on the remote system? You would
need some way to populate the dialog with the folder structure from the
remote. Or, you could rely on the calling function having enough
rights to enumerate the folder structure remotely (but that may not be
possible).
Sounds like a fun challenge!
-- Tim Scott
http://geekswithblogs.net/tscott
Dmytro Lapshyn [MVP] - 08 Feb 2006 11:20 GMT
Hey Russell,
I'm pretty sure that's not possible with FolderBrowserDialog. You obviously
should have something running on the remote machine that would tell you its
local file system structure. SQL Server does this behind the scenes, but
you'll have to come up with your own solution (possibly .NET
Remoting-based).
> Hi
>
[quoted text clipped - 12 lines]
> Thanks
> Russell Mason