Autor Beitrag
BwK
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Sa 18.06.05 00:25 
hi

und zwar hab ich einen ordner voller txt dateien und diese will ich alle in eine listbox laden ... kann mir einer sagen, wie das funktioniert ?? oder geht das nicht ??

danke schon im vorraus
mfg BwK
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Sa 18.06.05 09:05 
Hallo,

Das sollte so gehen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
var
  D: PChar;
begin
   D := 'C:\*.txt';
   ListBox2.Perform(LB_DIR,
                    DDL_EXCLUSIVE +
                    DDL_HIDDEN +
                    DDL_READONLY +
                    DDL_READWRITE +
                    Integer(d));
end;
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 18.06.05 10:00 
das hier könnte dir helfen:
www.delphi-forum.de/viewtopic.php?t=94

_________________
In the beginning was the word.
And the word was content-type: text/plain.
BwK Threadstarter
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Sa 18.06.05 10:22 
ja so gehts ... danke
aber eigentlich sollen die dateien unabhängig von name und anzahl der dateien geladen werden ... geht das auch ??

mfg BwK
BwK Threadstarter
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Sa 18.06.05 10:33 
@ matze
das ist genau das, was ich brauch und funktioniert einwandfrei ... danke

mfg BwK