It depends. How are you trying to open the file? As a stream?
If so, you must supply the correct "mode". Like S:=TFileStream.Create(aPath,fmOpenRead or fmShareDenyNone); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Moore, Chris ( BIUK ) Sent: Monday, February 19, 2007 11:30 AM To: [email protected] Subject: Open an open text file Hello list, I want to write an applet that reads a (text) log file generated by a third pary application. This application keeps the file open while it is running. I can open the log in notepad (even while the application is running) and read the lines of info. However, I cannot open the file for reading through Delphi. Whenenever I try I get a "file open" error. Can anyone help me solve this problem? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

