How to start version upgrade download for my application?
Hi all . I created an visual basic application and once user loads it it prompts them if they using older version and ask them if they want to upgrade or not. If they ask yes i want my application to start download a new upgrade file from a remote website just like pic below .I do not know how i can achive that so i be happy if an expert show me how i can do it in with my vb6 app.Thanks
http://i5.photobucket.com/albums/y18...07/upgrade.jpg
Re: How to start version upgrade download for my application?
Wokawidget wrote an app like what you want in VB6 CodeBannk.
http://www.vbforums.com/showthread.php?t=319226
Re: How to start version upgrade download for my application?
Quote:
Originally Posted by RobDog888
Thank u for the link but unfortunetly i could not run it. I get few errors posing it in the following link :
Code:
http://www.vbforums.com/showpost.php?p=2435680&postcount=51
I am looking for some thing more simple just like above pic. i hope some one help me.Thanks
Re: How to start version upgrade download for my application?
Re: How to start version upgrade download for my application?
Basically if you want to autoupdate you need to ...
Compare the local exe to the available download.
Download the new exe to the local system if needed.
Figure out a way to replace a currently running exe with the new version.
So you see its really that simple but for a single exe file to update its not impossible either.
Re: How to start version upgrade download for my application?
Quote:
Originally Posted by RobDog888
Basically if you want to autoupdate you need to ...
Compare the local exe to the available download.
Download the new exe to the local system if needed.
Figure out a way to replace a currently running exe with the new version.
So you see its really that simple but for a single exe file to update its not impossible either.
i already know how to check for version but i do not how to start download the file and attach to it prograss bar once the file finished download i want the program to close and setup starts!
Re: How to start version upgrade download for my application?
I dont have vb on this system but I believe its an API called DownloadFileFromURL. If thats too much for you then you can always use the Inet control to download the file.