Y
Yaniv
Hi
I'm new in VB.NET.
I wrote an application which opens a text file and read it all lines
untill the EOF
this file is open for read only and for sharing asllowed.
every 5 seconds another applications write another line to this file
at the end and I'm trying to read those new lines from my
applications. the problem is that the EOF function returns TRUE even
though a new lines added to this file.
what can I do?
I open the file using the function:
FileOpen(1, File, OpenMode.Input, OpenAccess.Read, OpenShare.Shared)
I read line using the function:
Linet = LineInput(1)
I check EOF with the function:
EOF(1)
Do I need to use diffrent functions for open and read that file?
Thanks for the help...
I'm new in VB.NET.
I wrote an application which opens a text file and read it all lines
untill the EOF
this file is open for read only and for sharing asllowed.
every 5 seconds another applications write another line to this file
at the end and I'm trying to read those new lines from my
applications. the problem is that the EOF function returns TRUE even
though a new lines added to this file.
what can I do?
I open the file using the function:
FileOpen(1, File, OpenMode.Input, OpenAccess.Read, OpenShare.Shared)
I read line using the function:
Linet = LineInput(1)
I check EOF with the function:
EOF(1)
Do I need to use diffrent functions for open and read that file?
Thanks for the help...