Autor Beitrag
kabizolis
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 86



BeitragVerfasst: Do 24.02.05 09:09 
hallo,

weiss jemand, wie ich z.b. alle textdateien eines bestimmten verzeichnisses in einer combobox anzeigen lassen kann...

beispiel:
---------
Alle Dateien mit endung .txt
im verzeichnis C:\Programme\Hallo\
sollen in meiner auswahl der combobox1 vorkommen.

ich finde es von alleine einfach nicht heraus :(

Moderiert von user profile iconTino: Titel geändert.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 24.02.05 09:12 
Hallo!

Schau dir doch einfach mal den folgenden FAQ Beitrag an: ...nach Dateien suchen?

Das Beispiel benutzt zwar eine Listbox aber das ist ja kein wirkliches Problem. ;-)

Gruß
Tino
kabizolis Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 86



BeitragVerfasst: Do 24.02.05 09:30 
vielen dank für die rasche antwort!
kabizolis Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 86



BeitragVerfasst: Do 24.02.05 11:16 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
Procedure FindFiles (aPath, aFindMask: String; aWithSub: Boolean; aResult: tStrings);
begin
FindFiles ('C:\programme\IR-Transceiver\Fernbedienungen\', '*.mwj', False, ComboBox1.Items);
end;


ich brings trotzdem nicht hin... :(

was mache ich falsch?

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt.