|
-
Oct 10th, 2005, 01:05 PM
#1
Thread Starter
Frenzied Member
Check if files is open??
does anyone have a function to check if a file is open.
-
Oct 10th, 2005, 01:30 PM
#2
Re: Check if files is open??
-
Oct 10th, 2005, 01:45 PM
#3
Re: Check if files is open??
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
Databases are handled differently.
-
Oct 10th, 2005, 01:52 PM
#4
Thread Starter
Frenzied Member
Re: Check if files is open??
 Originally Posted by leinad31
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
Databases are handled differently.
well can u give me some code???
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
-
Oct 10th, 2005, 01:54 PM
#5
Re: Check if files is open??
 Originally Posted by high6
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
What is it that you are trying to do?
-
Oct 10th, 2005, 01:59 PM
#6
Thread Starter
Frenzied Member
Re: Check if files is open??
 Originally Posted by Hack
 What is it that you are trying to do?
sometimes my EXPLORER.EXE ends itself so im making an app to check when it does and rerun it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|