Solved

How to create a Client application automatic upgrade in vb.net??

Posted on 2006-11-14
7
170 Views
Last Modified: 2012-05-05
Hello experts, I have built a windows application using visual studio.net 2003.  Everytime I make a new version I need to install the new version on the clients computer, how do I create an automatic upgrade that checks for new versions and upgrades when the user logs in?  I was thinking the easiest way would be to  have a database table contain the version number and check that agaisnt its existing number, but how do i perform the upgrade automatically when the versions are different?
0
Comment
Question by:tentavarious
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 3

Expert Comment

by:snow_moon
ID: 17940758
Try ClickOnce Deployment of VB.Net 2005 Express, which is free.
Have a look at
http://msdn2.microsoft.com/en-us/library/142dbbz4.aspx
0
 

Author Comment

by:tentavarious
ID: 17940783
Well I am currently coding in 2003 and thats all I have available, I would like to learn how to do it in 2003.  I know you can do it in vb6 so I was thinking vb.net 2003 would be capable.
0
 

Author Comment

by:tentavarious
ID: 17940906
I found this web site that explains how you can load in a form, from a virtual directory using IIS.  This looks to be the correct way, but I would have to compile all my forms as dlls and load them independently.  Is there another way?  The author of the web page explains on how to load a form from a virtual directory on a menu click.  I am wondering if this is how automatic updates need to be done?  Or is there a different way?  

Here is the site i found:http://www.developer.com/lang/other/article.php/929071
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:newyuppie
ID: 17940979
i think what you are looking for is called a Smart Client. Microsoft offers the Smart Client Factory which is supposed to help you out building applications that receive automatic updates from the Internet. i haven't tried this, and looks rather complicated, but you should check it out anyway maybe it gives you ideas.

http://www.microsoft.com/downloads/details.aspx?familyid=2B6A10F9-8410-4F13-AD53-05A202FBDB63&displaylang=en
http://www.gotdotnet.com/codegallery/codegallery.aspx?id=941d2228-3bb5-42fd-8004-c08595821170
0
 
LVL 11

Accepted Solution

by:
melmers earned 350 total points
ID: 17940999
Seperate your software into seperate projects/assemblys so you can update every pice of your software at your changes.
The negative aspect of this soloutin is that you have on exe file and some dll's but you can update them independetly.

Your main form will load the other assemblys and then you can view the other forms or run calculations with them.
the next stage can be that you implement a microkernel where you load your assembly dynamical and you can expand
your software by changing  a configuration file.
0
 

Author Comment

by:tentavarious
ID: 17941078
How do I handle special dll files, for example on one of my forms i added a reference to a new grid control that I found on-line.  The dll file is gridms.dll, how do I get the application to download this file as well?  Basically is there a way I can run a brand new install automatically? Or do i have to seperate assemblys like melmers said?
0
 
LVL 11

Expert Comment

by:melmers
ID: 17941679
you can create for the update little setups or zip files which you extract in your application path and then load the assembly dynamical
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question