OpenFile - Kein Fehler!
Verfasst: 27.07.2005 00:43
Kann mir mal jemand sagen weshalb ich keine Fehlermeldung erhalte wenn ich diese datei öffne (Die Datei ist nicht Vorhanden).
Ich erhalte nur "-1".
im API-Guide steht:
Habe ich etwas übersehen??
Ich erhalte nur "-1".
Code: Alles auswählen
OpenFile_("C:\Thema.TXT",Space(255),OF_PROMPT)OF_PROMPT
Displays a dialog box if the requested file does not exist. The dialog box informs the user that Windows cannot find the file, and it contains Retry and Cancel buttons. Choosing the Cancel button directs OpenFile to return a file-not-found error message.
Habe ich etwas übersehen??