Drive Explorer

Click here for a larger image.

Environment: VC6, Windows 98

This is an example of browsing the drives and folders on the system. This uses the Treeview/Listview control to achive the objective. This project is similar to the Windows Explorer available on the Windows Operating System. The project is available for download with source code; hence, fragments of code have not been reproduced here.


Download demo project - 57.6 Kb


  • where is the code?

    Posted by kyaranusa on 06/01/2006 04:30am

    i do appreciate if you would send me the code from this nice article and your other excellent articles (, DriveExplorer, DriveBrowsingTree) thanks in advance kikik

  • Article not found

    Posted by opxy on 10/30/2005 02:54pm

    If you click on download link, there is an error "Article not found". I would be really glad if somebody could send this explorer demo on my e-mail grega(.at.) Thanks, Grega

  • How do you automatically expand a given path.

    Posted by Legacy on 08/05/2002 12:00am

    Originally posted by: Gargoyle

    I have used your code as the basis for an image viewer. But want to be able on opening the program to expand to the last path opened on the previous run. I can't seem to work out how to do this can you offer any suggestions. I am storing the path in the document and to the registry between runs (let call the variable currentPath). And would like the tree view to open expanded to this directory with the directory selected. Any clues would be appreciated a peice of code to do this would promis you a place in whatever heaven you desire.

    Thanks Gargoyle

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

  • U.S. companies are desperately trying to recruit and hire skilled software engineers and developers, but there's simply not enough quality talent to go around. In response, companies often resort to inferior solutions -- hiring substandard developers and engineers, recruiting talent on a part-time or temporary basis, poaching people from competitors, or burdening an already stressed IT staff for more of their labor. Fortunately, there's a better solution. Read this white paper to learn the business value of …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date