Microsoft KB Archive/141025

= PRB:Can't Create new .EXE w/ Same Name If It's Already Running =

Article ID: 141025

Article Last Modified on 12/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q141025



SYMPTOMS
If a copy of an executable is running on your computer, and you try to create a new executable with the same filename, the following error message appears:

Permission Denied "Project.exe"



CAUSE
This error is caused by the fact that a copy of the project's executable file is already running on the system. Microsoft Windows does not allow a file to be written to or deleted when it is running.



WORKAROUND
To work around this problem, either rename the .Exe file when you create a new executable, or exit from the executable that is currently running.

Additional query words: 4.00 vb4win vb4all

Keywords: kbenv kbprb KB141025

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.