Solved

Visual basic version conflict

Posted on 2004-08-10
4
629 Views
Last Modified: 2013-12-28
I need to use 2 programs (real-estate managment) that both are build using VB. The versions are different however so if I install one program, the other stops working and vice versa. I'm sure many people have experienced this problem already. Any idea about solutions?

--T
0
Comment
Question by:Twinkt73
[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
  • 2
4 Comments
 
LVL 38

Expert Comment

by:BillDL
ID: 11770047
What are the 2 programs and their version numbers?

What versions of VB do they each require respectively?

Older versions of the Visual Basic Runtime come as a single .DLL file, eg:

VBRUN100.DLL - Visual Basic Runtime version 1
VBRUN200.DLL - Visual Basic Runtime version 1
Vbrun300.dll - Visual Basic Runtime version 3
Vb40016.dll - Visual Basic Runtime version 4 (16-bit for Win 3.1)
Vb40032.dll - Visual Basic Runtime version 4 (32-bit for Win 9x etc)

These all reside in, and co-exist quite happlily together in, the C:\Windows\System folder.  If you simply copy them there (where they don't already exist), then normally Windows finds them and makes them available for use.  They are accessed as required by any program that needs that version of the VB Runtime.

When it comes to versions 5 and 6, these come as "installer files" that unpack and install more than one file.  Where the files already exist on your system as older versions, then they are first backed up and then will be overwritten by the new files.

Windows 98 installs Visual Basic Runtime version 5 by default, but I can never quite recall whether version 6 is installed.

The main "Runtime" files installed by versions 5 and 6 are (respectively) MSVBVM50.DLL and msvbvm60.dll.  Even if several other of the VB 5 runtime files are updated during an installation of version 6, the mere presence of either of the MSVBM**.DLL's  needed by either version is usually enough to allow that program to run.  I suppose, in a way, the other supporting system files that are updated, are sort-of "backward compatible" with the older version.

My suggestion is to first do a file search for the single .dll files for versions 1 to 4 to see if they exist on your system.  If NOT, then download from the links below, and copy them to c:\windows\system.  That will cover all older programs.

Next search for both the MSVBM**.DLL files above to see if they exist.  If BOTH exist, then it is fair to say that you have version 5 AND 6 runtimes, and that one or more of the supporting files is causing the version conflict rather than the actual "runtime" dll files.

Try installing the version 5 runtime installer, rebooting, and then installing the version 6 installer.

vb100.dll
ftp://garbo.uwasa.fi/windows/dlls/vbrun100.zip

vbrun100.zip
ftp://ftp.demon.co.uk/pub/simtelnet/win3/dll/vbrun100.zip

vb200.dll
http://www.programmersheaven.com/d/click.aspx?ID=F168

vbrun200.zip
ftp://ftp.demon.co.uk/pub/simtelnet/win3/dll/vbrun200.zip

vbrun300.zip (VB40016.DLL Win 3.1x set).
ftp://garbo.uwasa.fi/windows/dlls/vbrun300.zip

VB Runtime v3.0  *** my preferred download ***
http://www.karenware.com/progs/vbrun30.exe

vb40016.zip (VB40016.DLL Win 3.1x set)
ftp://garbo.uwasa.fi/windows/dlls/vb40016.zip

VB4 32-bit
ftp://ftp.demon.co.uk/pub/mirrors/simtelnet/win95/dll/vb40032a.zip

VB Runtime v4.0 (16-bit and 32-bit versions)  *** My preferred download ***
http://www.karenware.com/progs/vbrun40.exe

VB Runtime v5.0
http://www.karenware.com/progs/vbrun50.exe (Installer File)

VB Runtime v6.0
http://www.karenware.com/progs/vbrun60-setup.exe  (Installer File)
(MSVBM60.DLL will show as version 6.00.8964 after installing)

VB Runtime v6.0 SP5
http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/vbrun60sp5.exe (Installer File)
(MSVBM60.DLL will show as version 6.00.8964 after installing)

The .exe file downloads from "karenware" for "vbrun30.exe" and "vbrun40.exe" are "self-extracting zip files" that can be extracted to any folder.  They aren't "installer files" unlike the VB5 and 6 .exe files.  Just double-click and change the destination folder to c:\windows\system instead of what it shows in that field.

If reinstalling the VB5 and 6 runtimes in that order doesn't help matters, then please let us know and we can suggest what to do next.

Bill
0
 
LVL 38

Expert Comment

by:BillDL
ID: 11970089
Maybe my comment scared Twinkt73 away.  My suggestion was probably the best place to start off, but without feedback, we'll never know whether it would have cured the problem.  What a disappointing outcome.  I would have really enjoyed seeing a success here.  Might as well just delete the question, unless the VB Runtime links might help someone if PAQ'd.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 11988115
PAQed - no points refunded (of 50)

CetusMOD
Community Support Moderator
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

733 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