Hi,
When writing to a text file from my application using this object:
Dim FileStream As New FileStream(strFileName, FileMode.Append,
FileAccess.Write, FileShare.ReadWrite)
ioFileOUT = New StreamWriter(FileStream)
ioFileOUT.WriteLine(strLine)
If I try to view the txt file (witn notepad) while the program it is
still running, it seem that I see only the file partially.
But when my app is terminated and the ioFileOUT.Close() is called, then
if I open the txt file, I see the whole content.
How can I make it to be able to see the whole content during the runtime?
I don't want to open/close the txt file each time the ioFileOut object
call it, because it is heavy time/CPU consuming for my needs.
Thanks very much.
Marty