CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 1999
    Posts
    1

    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]








  2. #2
    Join Date
    Apr 1999
    Posts
    54

    Re: Tree View Control

    Check out WNetOpenEnum and WNetEnumResource.
    This will return a list of your network shares.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured