Im trying to read a log file from a program and insert the events in an easy-to-manage database. I can open the file in notepad, and i can see everything, but when I try to access the file, it gives me an error saying another process is using this file.
I know the process is using the file, and it is being updated...when i stop the program that makes the log file, i can read it fine, so I know there are no apparent errors that might indirectly cause this problem.
SUMMARY:
how do you open a file while in use by another process (only read permission is needed). I can open it in notepad while the process is running, so I know its possible.
I know the process is using the file, and it is being updated...when i stop the program that makes the log file, i can read it fine, so I know there are no apparent errors that might indirectly cause this problem.
SUMMARY:
how do you open a file while in use by another process (only read permission is needed). I can open it in notepad while the process is running, so I know its possible.