kennedymr2
Programmer
I have written a program in VB Express 2008, which creates an output file every 10 seconds. eg
FileOpen(1, c:\test.txt", OpenMode.Output)
PrintLine(1, "888888")
'eg writing out about 24 lines of code...
FileClose(1)
There is another program written in VB6 which reads this file every 5 seconds.
I have had this senario running for years using vb6 in both programs, and very rarely get a clash.
But now have written the writer in VB Express 2008.
The vb program reading the file keeps coming up with permission denied., when it tries to open the file.. all the time...
???? Does vb Express 2008, using the code above put some sort of lock on the file for a period.. ie it does not quickly release ???? or something..
Would appreciate some advice as to the problem or a better way of doing it..
Regards Kennedymr2
\
FileOpen(1, c:\test.txt", OpenMode.Output)
PrintLine(1, "888888")
'eg writing out about 24 lines of code...
FileClose(1)
There is another program written in VB6 which reads this file every 5 seconds.
I have had this senario running for years using vb6 in both programs, and very rarely get a clash.
But now have written the writer in VB Express 2008.
The vb program reading the file keeps coming up with permission denied., when it tries to open the file.. all the time...
???? Does vb Express 2008, using the code above put some sort of lock on the file for a period.. ie it does not quickly release ???? or something..
Would appreciate some advice as to the problem or a better way of doing it..
Regards Kennedymr2
\