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

  • By providing developers with the right tools to detect, understand, and fix problems early, your business can simplify software development, shorten development lifecycles, and improve the quality of software code. The end result is increased innovation, secure applications, and a faster time to market — all at a lower cost.

  • 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® …

Most Popular Programming Stories

More for Developers

RSS Feeds

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