Solved

Displaying in a tree the whole structure of my computer?

Posted on 2001-08-06
7
135 Views
Last Modified: 2010-05-02
Hi every one?
I would like to do the folloeing:
display in a tree control
  root desktop
        My Documents
             subfolders and sub files
        My Computer
             all drives
                 folders sub folders files
        My network places
             all maped drives
                 Folders
                 sub folders
                 files

Basically something like windows explorer.

If any one has any already written code, I would very much appreciate.
Everything has to be displayed in a Visual Basic Tree.

Thanks.
Nesifa.

     
0
Comment
Question by:nesifa
7 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 6357144
please clean up your 14 other open questions before continuing here...
0
 
LVL 5

Expert Comment

by:AndrewDev
ID: 6357258
I have got just what you need when you have tidied up your other questions. Grade the Answers then come back and tell us you have graded them all. You can find them all in your member profile.

Regards
Andrew
0
 

Author Comment

by:nesifa
ID: 6357344
Hi,
I cleaned up.
I just did not know how.
Some questions show up at the first screen, some does not.

Thank you any way.
Nesifa!
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 49

Expert Comment

by:Ryan Chong
ID: 6357994
<listening..>
0
 
LVL 5

Expert Comment

by:AndrewDev
ID: 6358779
Take a look at this
http://www.freevbcode.com/ShowCode.Asp?ID=781

I think it does most of what you need
Regards
Andrew
0
 

Author Comment

by:nesifa
ID: 6359529
AndrewDev,
  Tha code is displaying just the network neighbourhood.
Do you know how to display the computer structure itself where the program is running.

Thanks a lot.
Nesifa!
0
 
LVL 5

Accepted Solution

by:
AndrewDev earned 20 total points
ID: 6367773
This is a VB Windows Explorer which does almost all you want. I am sure you can tweak it to suit your needs

http://www.freevbcode.com/ShowCode.Asp?ID=706

This folder browsing control might also be of interest

http://www.freevbcode.com/ShowCode.Asp?ID=1753

and this to Recursively Traverse the Nodes of a TreeView Control for updating while running

http://www.freevbcode.com/ShowCode.Asp?ID=2203
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now