Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start version upgrade download for my application?

Status
Not open for further replies.

Jason231

MIS
Apr 15, 2006
43
NL
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


upgrade.jpg
 
captiain thanks for u reply. But i do not want to upgrade windows or some thing like that. I just want to allow the users of my app be able to downlod updates
 
I believe the Windows installer updates other programs as well, not just Windows programs.
 
Thank u all for u replies.But I actually need a vb6 code that allow my application download file from a remote server if the version of of my app is old.Not and sofware package!
 
I don't think a VB program can update itself with out an external program to assist. You can create your own that when the main program opens it checks for a newer version, luanches the "sister" program you create, then your program would close. The sister program would upload, register etc. the updated version then re-luanch the main program.
 
well all i want the vb6 form to download a remote file and add a prograss bar for it just like pic here

upgrade.jpg
 
Since I don't know how, or if you can, my solution would be to create a "splash screen" that is an application that checks for the update, if none is found, luanches the main application and closes. If it finds a newer version, displays your update screen, does the upload and registers the controls and then luanches the new application and closes. All part of the primary application.

If you find a way to upgrade a VB app while it is in memory, Id love to see the process.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top