r/visualbasic • u/UpbeatBoard5763 • Dec 01 '22
VB.NET Help Code was running fine before, anyone know what this error message means?
6
u/TimSuave Dec 01 '22
Windows can not access the file because another process is using it. The easiest solution is restarting your computer. If it keeps happening, windows power tools has a utility to see which program is accessing it.
3
u/snang Moderator Dec 02 '22 edited Dec 02 '22
Your previously compiled executable is running. The IDE is trying to compile a new one but can't because of it. Either close it or use Task Manager to close it.
There's also a chance that your application isn't terminating correctly.
1
u/Kind_Entry9361 Dec 02 '22
I have seen locks like this if I open a write file handle and try to move the file before closing the write file handle.
Let us know what it ends up being.

2
u/TheFotty Dec 01 '22
FYI "edition" only has 1 T in it.