Re: How to read a text file that is being used by another process?
jonathan_at_solomon1.org
Date: 01/14/05
- Next message: Phil Jones: "Re: Are Sub's more performant than Function's?"
- Previous message: Teresa: "Re: GC and Dispose method questions"
- Messages sorted by: [ date ] [ thread ]
Date: 13 Jan 2005 19:02:22 -0800
Turns out that your post was very useful! I had what you might call a
mirror image of your situation. I too was monitoring a log file. In my
case, however, the application generating the log wasn't putting a lock
on the log file while writing. My VB program was locking it with
StreamReader, but the application creating the log didn't complain. It
just didn't write to the log while my program had it locked, so I was
missing events in the log. Anyway, thanks to you and Chris.
Jonathan
- Next message: Phil Jones: "Re: Are Sub's more performant than Function's?"
- Previous message: Teresa: "Re: GC and Dispose method questions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|