Link to home
Start Free TrialLog in
Avatar of TheJay04
TheJay04Flag for United Kingdom of Great Britain and Northern Ireland

asked on

VB: Download

Hey there,

In my program when i release a new version i add the new version into a database with a link to the download of it from a web page i developed, then when people launch my program and it recognises a new version is out it tells the user and prompts them to download it.

The way ive been doing it is the user is automatically sent to the address of the new version and it downloads and then the user has to install etc etc and reluanch the program.

What i would like is to beable to download the file from the net in vb and install it automatically with a status bar etc etc.

does anyone have any source that can do this ?? or can give me some advice on how i can do this....

Many Thanks
Avatar of TheMehrdad
TheMehrdad
Flag of Iran, Islamic Republic of image

Hi TheJay04,
First of all I suggest you to use ClickOnce to install programs. It's new in .net 2005 and has the ability to publish to http (Web) and can check for updates automatically and install it automatically too!
To use ClickOnce, just go to your application in visual studio 2005, Right click on the name of your project in the solution explorer, then click on the Publish button.
Second, if you are not using .net 2005 or do not want to use ClickOnce, tell me to write another generic solution for you.

Good luck
ASKER CERTIFIED SOLUTION
Avatar of Eduard Ghergu
Eduard Ghergu
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheJay04

ASKER

Thanks for your help.

I am not using .net so any further help would be great.
Also i will try those links,

Many Thanks
I have gone with:

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=64738&lngWId=1

It is very easy to setup and works very well..  Cheers Guys
Hello!

You forgot to give the points for the answer...
Sorry, i got side tracked :D