Solved

Files and Dirs

Posted on 1998-03-31
1
143 Views
Last Modified: 2010-04-06
How to show both, files and directories in a list box. i know of a FileList and a DirList, but how can i list both, if it's possible all files, with all attributes, this means hidden and system files also.

thx, omsec
0
Comment
Question by:omsec
1 Comment
 
LVL 1

Accepted Solution

by:
pjdb earned 30 total points
ID: 1361109
Use the following code :
filelistbox1.filetype:=filelistbox1.filetype + [ftdirectory];

JDB
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

15 Experts available now in Live!

Get 1:1 Help Now