0
Reply

Opening .exe in Binary

lil_pippers

lil_pippers

Apr 1 2004 2:02 PM
1.2k
I'm incorporating some auto-updating code into my vb app. I'm curious if it is at all possible to have an app update itself. If I attempt to open the app itself and rewrite it, I will get a file in use error correct? (unless there is a way to keep a vb app in memory but close off the file?) Does anyone have any ideas about the simplest way to update an app from within that same app? Right now, the only thing I can come up with is to download the new version as a different name, then download a very small updater app, run that small updater with shell or diagnostics, end the current app, then have that small app erase the older app and rename the newer app to the older app's name. Thanks in advance!