Autor Beitrag
Marco15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Mo 16.05.05 11:41 
Hi !!!
:D
Ich habe ein Problem und zwar wollte ich fragen, wie man mit einem opendialog auf einen ganzen ordner zugreift und alle Dateinamen die da drin sind dann in eine listbox geschrieben werden.

?????

_________________
Ich bin nur Schüler.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Mo 16.05.05 12:50 
du kannst auch direkt den "ordner öffnen" dialog von windows nehmen:

ausblenden Delphi-Quelltext
1:
2:
3:
using ..., FileCtrl;
...
SelectDirectory('Titel','Rootverzeichnis',Ausgewählter Ordner)

siehe auch Suche in: Delphi-Library VERZEICHNISAUSWAHL-DIALOG

um alle dateien aus dem selektieren verzeichnis zu extrahieren kannst du diesen code benutzen:
Suche in: -Library ...REKURSIV NACH DATEIEN IN UNTERVERZEICHNISSEN SUCHEN?

so n FAQ ist was praktisches :shock:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!