Link to home
Start Free TrialLog in
Avatar of pinmj001
pinmj001

asked on

File sharing problems

Hi there,

I have two applications:

First one is written by someone else and writes to several log files, some it appends to and some it over writes. I dont know the fequency in which it writes to these, but i would say fair oftem maybe every second.

Second one is written by me and what i want to do is read these files every minutes. I am having problems where when I have one of the files open the first application reports that there is a sharing violation and that it cannot write to the file.

What i would like to know is: is there a way for me to open these files in VB without causing the other application to error and say there is a sharing violation. i have tried a couple of methods, including using the filecopy method, but have not had any luck. If anyone has any ideas that would be great.

Cheers

Mat
SOLUTION
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial