Hi there how is it going?! I was looking for a way to close / unlock / rename a file that's in use by a process withouth killing that process in vb.net?!
Example: I need to update some .bpl which may be used when i start my update. To do that i try to delete the file or move it (or whatever allows me to put the new .bpl into the folder).
Clearly if the file is in use i get an exception which says that the access to that file is denied because the file is in use by another process. Assuming that i can't shut down the entire process, is there any way to achieve it from vb.net instead of using Handle.exe?