Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How display Directory List or file list?

Status
Not open for further replies.

Bartec

Programmer
Jan 21, 2005
54
PL
Hi!
I need to display directory list or file list of my hard dick? Is there any ready component (acticeX control) or smth like that?

Thank for response

Best

Bartek
 
It's very easy for a listbox. Do the following:
Create a listbox and create a variable for it, something like m_list.
Give the dialog a title like 'Directory List' or anything else descriptive.
In the OnInitDialog section of the dialog, type this in:
m_list.Dir(0X0000, "*.*");

This will list everything in the current directory.
 
Ok thanks! but what about for ex. My Computer or smth like that??

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top