Solved

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

Posted on 2006-11-14
7
150 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tabcontrol Caption? 1 30
Library to convert HTML to PDF. 8 57
Open form in the top right hand corner of screen 5 36
Access to class from any project within a solution. 6 14
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now