Results 1 to 3 of 3

Thread: SavingFileFromWeb

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Phx, AZ USA
    Posts
    23

    Post

    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

  2. #2
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    Post

    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.

  3. #3
    Junior Member
    Join Date
    Feb 2000
    Location
    Mesa, AZ, USA
    Posts
    16

    WorksLikeACharm

    Thanks for the help. That works great.


    Dubi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width