Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Verisign Code Signing
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old September 16th, 2003, 12:41 PM
theocpcguru theocpcguru is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 theocpcguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Patching

I'm doing a MDI Db app using VB6 to an access backend. This is for my company, and I know that after the initial release comes out and they see how freaking cool it's turning out (much better than the DB I inherited) they are going to want alot of stuff done. Now, I have figured out a way to make the program check for updates, but I'm not quite certain I know how to apply a "patch".
From what I gather, if I don't add anything that isn't there (for instance a control that wasn't bundled with the installer, or any DLL's) that all I would need to do is copy over the new exe file. Is this the case? What if I do use a new control. Does this mean that I need to have the user un-install and re-install the program?

Reply With Quote
  #2  
Old September 16th, 2003, 01:35 PM
Wingman Wingman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Bavaria, Germany
Posts: 140 Wingman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 40 m 41 sec
Reputation Power: 6
If you're just changed your VB 6 Application you can simple replace the old one with the new one.

If you're updating dependend components (e.g. a adding a control to a ActiveX dll) it (should) be as simple as copying over the new file, registring it (regsvr32 MyNewDLL.dll or MyNewCtrl.ocx) and restart your application.

But you should always unregister your old version of your dependend dlls/ocx (as long as no other programs use them) since this will keep your registry clean.

If you have just changed something inside a func (NOT changed its declaration) and compiled your dll/ocx binary compatible you don't need to regsvr32 it, just copy it.

But if you added something (or removed something which will break the binary compabitily) you'll need to update your exe AND your dll (inclusive regsvr32 it).

The most time you don't need to uninstall/reinstall because you know what have changed (dependency xyz.dll has been added, so you need to copy file xyz.dll and regsvr32 it), but it's always safer to create a new MSI and let the user do the uninstall/install procedure.

Last edited by Wingman : September 16th, 2003 at 01:37 PM.

Reply With Quote
  #3  
Old September 17th, 2003, 12:31 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via MSN to cleverpig
U can use PAtch tool by Indigo Rose Corporation.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Patching


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway