Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   [Delphi] Listing System's drives in a ListBox?? (http://www.chiefdelphi.com/forums/showthread.php?t=39354)

Rami 18-08-2005 03:33

[Delphi] Listing System's drives in a ListBox??
 
Hello every body, new to this forum as you can see :D
- How can i list my computer's drives into a Listbox?
I can do this:
- Adding a Drive control and a List control and then type this code:
Code:

ListBox1.Items.Text := Drive1.Items.Text;
- But this way i'll have the result in the ListBox this way:
a:
c: []
d: [hassan]
e: [karim]
f: [media files]
g: []
h: []

- And i want it that way:

A:\
C:\
D:\
E:\
F:\
G:\
H:\

- Can any body help me :confused:

Cory 18-08-2005 03:41

Re: [Delphi] Listing System's drives in a ListBox??
 
Sorry to disappoint you, but this forum isn't for the Delphi programming language, but rather FIRST robotics.

Here's a thread that may be of use to you: http://www.chiefdelphi.com/forums/sh...ad.php?t=29944

mechanicalbrain 18-08-2005 03:47

Re: [Delphi] Listing System's drives in a ListBox??
 
But we would love to have you stick around. We do robotics in a competition called FIRST take a look around and see if your interested! :D


All times are GMT -5. The time now is 04:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi