Results 1 to 7 of 7

Thread: would someone be willing to evaluate this?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    would someone be willing to evaluate this?

    I wrote a small utility that pretty much shows a directory structure in a tree-view.

    I could use some raw feedback on what I did:

    how could my code be more efficient?
    what other features should I have put in it?
    What functions could I create to make it better?

    Thanks in advance

  2. #2
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    An attachment or some code to evaluate would be helpful

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    dag-slab-it. I thought I uploaded that!! lol
    Attached Files Attached Files

  4. #4
    Frenzied Member <ABX's Avatar
    Join Date
    Jul 2002
    Location
    Canada eh...
    Posts
    1,622
    Listed 337 dir' in a second or two

    Only Lists 1 subdir, is that by design?
    Tips:
    • Google is your friend! Search before posting!
    • Name your thread appropriately... "I Need Help" doesn't cut it!
    • Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
    • Allways Include the Name and Line of the Exception (if one is occuring!)
    • If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)


    If you think I was helpful, rate my post
    IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It would be more useful if it shows subfolder trees too .

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    Thats what I want to make the program do. How can I make the program know when there are no more subDirectories? I suspect a "do while" loop is really needed here.

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by thephantom
    Thats what I want to make the program do. How can I make the program know when there are no more subDirectories? I suspect a "do while" loop is really needed here.
    Nope , you have to use for each structure in recursive call to the method . Example , in the below link , look at my last post .
    http://www.vbforums.com/showthread.p...cursive+method

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