-
Tree View Control
Hi ,
I am using TreeView control , I have to display all the selectd server network
directories in the treeview control ,
Currently I am using Common Dialog control ,but in that It's displaying
all my local machine directories , but i want to display all the current server
network directories .
It's not necessary to use Treeview control ,If any other control works then
it's fine ,
I am using this code to create the backup devices.
Ex: what I want in the either in treeview control or commondialog control is
when we type at commond promt C:\>si \\servername it will display all the directories under that server
I want those directories in the control for that particular server
Any bodies help is most appreciated ,and if you want more info ,Please mail me.
Thanks in advance
Sreedhar .V
[email protected]
-
Re: Tree View Control
Check out WNetOpenEnum and WNetEnumResource.
This will return a list of your network shares.