does anyone have a function to check if a file is open.
Printable View
does anyone have a function to check if a file is open.
What kind of file?
Try to open the file Lock Read Write... if someone alreay opened it you can't lock them out. You'll get a "permission denied" or "file already open" error... at least with binary/text files :D
Databases are handled differently.
well can u give me some code???Quote:
Originally Posted by leinad31
well i wanna use it on explorer.exe because sometimes it likes to end on me so i making an app that checks every 60 seconds if its running and if its not it runs it. so i dont have to restart comp
:confused: What is it that you are trying to do?Quote:
Originally Posted by high6
sometimes my EXPLORER.EXE ends itself so im making an app to check when it does and rerun itQuote:
Originally Posted by Hack