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
Solved

Approach towards patches, updates in Desktop Applications

Posted on 2004-09-28
11
159 Views
Last Modified: 2010-04-23
I would like to create a desktop application for which if changes are made in the customer module, or inventory module I would like to send a patch to clients and not the whole installation.

How could I implement such a thing in VB.NET. Any professionals who have ever followed such an approach.
0
Comment
Question by:Syed Irtaza Ali
  • 4
  • 4
  • 2
11 Comments
 
LVL 18

Expert Comment

by:armoghan
ID: 12177932
You can add plug-IN support
see this article for informaiton
http://www.codeproject.com/csharp/PluginsInCSharp.asp
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12179089
You will have to split your application into multiple DLLs (one for customer, one for inventory, ...).
0
 
LVL 2

Author Comment

by:Syed Irtaza Ali
ID: 12187049
Yes, emoreau, I have often heard that. But could you tell me where I can find a sample project implemented in such manner. That would really help a lot.

BTW armoghan, I believe thats something new in .NET, but am looking for a simple workout with VB.NET projects.

Thanks.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 18

Accepted Solution

by:
armoghan earned 125 total points
ID: 12187455
Making of different DLLs is basically a clean/moduler programming practice. What you have to do is create different libraries/projects in a solutions.
Something like

Inventory
Customer
.....
Commons

each will generate a separate dll file, you will be referencing these DLLs in each other.

Now when you change the Inventory , you will just compile the Inventory project and send the DLL to the user which will be updated by him and you will not need to send all the project.

Hope it helps
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12188392
Have a look at an article I wrote a year ago: http://www.utmag.com/September2003/Page11.asp
0
 
LVL 2

Author Comment

by:Syed Irtaza Ali
ID: 12199172
emoreau I read the page 11 but am still not confident with that approach or havent understood it completely.

armoghan, could u somehow provide me a link where i could see such a project, it could be just two things like Inventory and Supplier. I just want to see how they are linked together. And how this all works through code. Thanks
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12199268
Have you read pages 11 to 15?

Download the example (link on page 15). There is a sample of getting forms from another assembly (a .dll) and displaying it with the main application without having it knowing the existence of external forms at build time. There is also a config file to give the main form names and location of these external forms.
0
 
LVL 2

Author Comment

by:Syed Irtaza Ali
ID: 12206052
ok, I will look into it. Have downloaded it already. Thanks
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12452136
Points to emoreau
0
 
LVL 2

Author Comment

by:Syed Irtaza Ali
ID: 12453227
sorry for the delay. been out of station.

Anyways armoghan had the better solution. Thanks emoreau for your expertise also.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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