I'm writing a simple chat-type program that works by reading a file on the network.
All is fine except for sending a message when other users are "listening" or reading the files. There is a delay in the listening and obviously "time holes" where data could be written.
However, I'm having difficulty getting this to work.
I've got properly written ErrorHandlers (they work the first time, then the second time they get through to the 'open "file.dat" for output access write as #1' statement they give a Run-time error 70 -- "Permission Denied")
Am I missing something here? I've tried Timers, and loops to "check" but the permission denied error still persists (even though there's an errorhandler!)
Does anyone have any ideas why? and if so, some code to show me =P
Thanks a bunch,