Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB4-16bit: Support files
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00092490
Message ID:
00092562
Vues:
22
>does anyone has a solution for the problem VB4 has when installing a app (Wrong version off DLL?
>
Welcome to the wonderfull world of shared components !!!


>Detailed: When installing a app written in VB4 16-bit, the setup-program places all DLL in the SYSTEM dir of WINDOWS 9 times out of 10 you have problems with wrong DLL-versions. What I want to do is to keep the needed VBX's and DLL's in my application directory. (No install if possible)
>
I'd advide strongly not to do that. You must install shared components in the System directory. Here's why:
Program A use XYZ.DLL that is in the directory of the EXE.
Program B is started. It needs XYZ.DLL but a more recent version that is in the System directory. The DLL is aready loaded in memory. Program B fail to start because the DLL is an older one.

No install program ??? You can make a batch file that copy your files and register the components with REGSVR32.EXE

The Setup Wizard that come with VB4 is bugged. I would spend a few bucks to buy a 3rd party setup program that is fool proof. WISE or InstallShield Express comes to mind.
I would enable Version Checking and place the shared components in the System directory.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform