Thanks for your latest response Chriss. I can see that in many applications access to (any) data would need serious control. But my tiny application doesn't warrant that depth. Anyone who uses it (it is supposed to be multi user but I'm not even sure that there are multiple users) is equally...
Thanks for the latest posts Mike Lewis and Chriss. More food for thought. At present each user has his/her own user log, but when this thread started me thinking more deeply, I wondered if there shouldn't be one user log for the application. After all it is there primarily as an audit trail...
Thanks Mike Lewis and Chriss for your latest responses. The whole logging thing clearly requires a total re-think and it will get that. Very interested in Chriss's remarks on data security and access. My application is probably to insignificant for this to be an issue but as I revise the...
Thanks Mike for your latest post. When I change the log to a dbf I certainly intend to monitor its size within the application. I already have two ideas for that to think about, yours and Chriss's (see below)
Thanks Chriss for your latest response. If I were to stick with a text file for...
Thanks for your response Mike. The only reason a user would want to edit the user log would be to chop the top off it to bring it down to size. Whether or not this would actually ever be an issue in my tiny application is a moot point. I was really thinking of inadvertent editing or access...
Okay, okay I get the message. Using a text file as a log file openable in Notepad is a bad idea.
Thanks for your response mjcmkrsr. I tried fflush() but it doesn't help if another user has the file "open" in Notepad, edits it after the fflush() and then saves his/her edits.
Thanks for your...
In thread 184-1674267 the poster asked how to tell if a file was open. After a bit of prompting he/she explained that it was an Excel file that was "open, meaning visible in your taskbar".
Mike Lewis offered a solution using APIs, GriffMG offered a solution using low level file calls and there...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.