![]() |
FileExists-Problem
Hi,
ich hab ein Problem mit FileExists! Immer, wenn der folgende Code ausgeführt wird, kommen tausend Fehler und lassen mein Programm abstürzen:
Delphi-Quellcode:
Wo ist der Fehler in dem Code?
if FileExists(ExtractFilePath(Application.exename) + 'Playlist.pla')
then Form14.ListBox1.Items.LoadFromFile(ExtractFilePath(Application.exename) + 'Playlist.pla'); Gruß S2B |
Re: FileExists-Problem
Hi,
Wahrscheinlich existiert deine Form14 zu jenem Zeitpunkt ja noch gar nicht. Dann gibt's eine AV! |
Re: FileExists-Problem
Klar! Sie existiert noch gar nicht! Da hätte ich auch selber draufkommen können...
Vielen Dank für die schnelle Antwort! Gruß S2B |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:42 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz