Problem solve Get help with specific problems with your technologies, process and projects.

Can we make it so more than one programmer can access a directory simulatenously?

We are working on VB.NET and have our code residing on a server. When one programmer is running the application (in the VS.NET IDE), if another programmer tries to run the application he/she will get the message:

"The file "APEX.exe" cannot be copied to the run directory. The process cannot access the file because it is in use by another process."

Please help us in solving the issue, so that more than one of us can execute the program using VS IDE simultaneously. Thank you.
If I read this correctly, you have the output directory for the compiled application going to a shared directory. What you're seeing is that the operating system locks the EXE file when it's executing. There's nothing you can do to change that because, for optimization purposes, the operating system continues reading the EXE as it executes. If you changed the EXE underneath the operating system, you'd be visiting crash city. I strongly recommend that you have each developer set their own output directory.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.