Autor Beitrag
_Digger
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 46

Win XP
Delphi5 Prof
BeitragVerfasst: Di 07.06.05 11:16 
Hallo
Ich habe folgendes Problem:
Die DirectoryListBox zeigt den Ordner 'Eigene Dateien' nicht an. Sonst stimmt aber alles und alle Ordner sind da. Was ist da falsch?

Danke!
3rdnuss
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 139



BeitragVerfasst: Di 07.06.05 13:32 
Versuch mal beim OnCreate:

ausblenden Delphi-Quelltext
1:
DirectoryListBox1.Directory := 'C:\Dokumente und Einstellungen\+ Benutzername +\Eigene Dateien\'					
_Digger Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 46

Win XP
Delphi5 Prof
BeitragVerfasst: Sa 11.06.05 18:47 
Danke für die Antwort, aber es hilft leider nicht viel.

Auf meinem PC sind Eigene Datein nicht unter C:\ sondern in D:\
Vielleicht ist das das Problem.

wenn ich unter OnCreate folgendes schreibe:
DirectoryListBox1.Directory:='D:\Eigene Dateien\'

dann bin ich zwar tatsächlich im Ordner 'Eigene Dateien', aber sobald ich in der DirList wieder eine Ebene nach oben gehen, ist er wieder nicht zu finden.