How can I check if a file is in use, I have file and I want to know if
someone have the file opened for writing, I dont care if they have opened
the file readonly.
try to open the file exclusive , if you can`t do that ( error is raised but
ofcourse catched by you ) the file is already opened by someone else
regards
Michel Posseth [MCP]
"Erik Fjelldal" <Er***@newsgroup.nospam> wrote in message
news:u7*************@TK2MSFTNGP10.phx.gbl...
How can I check if a file is in use, I have file and I want to know if someone have the file opened for writing, I dont care if they have opened the file readonly.
Hello,
I would like to prevent my perl program to be executed several times
simultaneously (if the program is already running, I would like to display a
message like "another instance of this...
I'm setting up an interface where clients must perform external
locking before calling certain commands. I do this to force them to
specify the duration the action they performed must persist...
How to obtain the lock status of a file held by other process?
If I read the file that is locked by other process, the read would
return -1.
If the file is locked by other process, how to put the...
Question one:
How do you detect if a file is locked. I have a program that is
cleaning up a temp directory and I want to scan the files to see if
they are locked before I try to delete them.
...
The only examples I have seen on how to check if a file is locked is to
try to open it a catch an exception.
MS has stated that you should never use error trapping in this manner.
Is there no...
Hey all,
So I have a script that runs pretty much every 5 minutes or so to look for updated files locally on a server. New files (ranging in size from 1KB - 2MB) are then FTP'd to another server....
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...