PDA

Click to See Complete Forum and Search --> : SavingFileFromWeb


Dubious
Feb 22nd, 2000, 04:31 AM
I am trying to retrieve the newest version of my app from the web. On form_unload, I check the users registry for the current version and then check the web for a new version. If a new version is found, a msgbox pops up and gives them the option to download or not. If yes, I need to Pull the new exe off the web. How do I overwrite the old version when it is running? I already have created a key to find the app path. I just need to know how to save the file from the web into the correct folder.


Please help


Dubi :eek:

invitro
Feb 22nd, 2000, 11:08 AM
What i would do is first, save the new version as another file like Tmp.dat or something.
Then, make a bat file that deletes your program, renames Tmp.dat to Program.exe, then deletes itself.

Give me a shout if you need more info.

Dubi
Apr 25th, 2000, 03:08 AM
Thanks for the help. That works great.


Dubi