Solved

Files and Dirs

Posted on 1998-03-31
1
144 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help on project with Soap 10 48
Delphi Form ownership 4 73
find a node in VST 2 63
control image tags in a string ? 12 110
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

21 Experts available now in Live!

Get 1:1 Help Now