CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Posts
    224

    getting users list

    Hi all

    Could any one suggest me how to get the users list and size of those folders


    i mean C:\Documents and Settings
    we will have the folder list who ever logged into the perticula system

    i need to get those folder names and size of those folders and have to show it in grid view

    any way to do this

    TIS

  2. #2
    Join Date
    Nov 2003
    Posts
    2,185

    Re: getting users list

    I think you are looking for:

    System.Environment.SpecialFolder.Personal

    Then, you can simply loop all the directories inside.

  3. #3
    Join Date
    Jan 2005
    Posts
    224

    Re: getting users list

    yes exactly

    Thanks for your reply
    and could you pls show a bit of code

    Thanks a lot

  4. #4
    Join Date
    Nov 2003
    Posts
    2,185

    Re: getting users list

    Did you even try to search?

    Anyway, here is "a bit of code":
    Code:
    while (true)
    {
        // Do nothing
    }

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