Solved

Wrong version of runtime DLL

Posted on 1998-05-11
10
443 Views
Last Modified: 2012-06-21
I've just installed SP3 of VB5. If I run my program in VB itself it gives no problem. If I compile it and try to run it again it says: Wrong version of runtime DLL.
0
Comment
Question by:ndb
[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
10 Comments
 
LVL 2

Expert Comment

by:chris_a
ID: 1445738
Msvbvm50.dll has this version on my PC 05.00.4319 (SP2), I have applied SP3 also!
0
 
LVL 1

Author Comment

by:ndb
ID: 1445739
I also have version 05.00.4319 (SP2).
0
 
LVL 4

Expert Comment

by:zsi
ID: 1445740
ndb,

Check your path and make sure that you do not have any other copies of the VB runtime DLL's in your path.




0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:ndb
ID: 1445741
There is only one copy of Msvbvm50.dll on my computer.
0
 
LVL 1

Expert Comment

by:flivauda
ID: 1445742
do a:

c:\> del *.oca /s

on your drives and then goto regedt32
goto:
local machine
    software
         microsoft
              visual basic
                 bunch of stupid oca keys

and delete and the keys for your oca files. (be careful not to delte anything below it, if you go to fast you may delete your winnt keys)

This should fix it.  FOr some reason vb creates the stupid oca cache files but doesnt always update them and you can be referenceing the wrong version of stuff.  I have a login script that delets all my ocas everytime just avoid this problem.
0
 
LVL 1

Author Comment

by:ndb
ID: 1445743
I am sorry but this doesn't seem to work. All .oca files are removed from my harddrive and under the the vb subtree in the registry.
0
 
LVL 5

Expert Comment

by:yronnen
ID: 1445744
Have you tried installing internet explorer 3.01 and up? I know it sounds funny, but if yuo install vb (especially SP3) yuo must install ie3.01.

This may help.
0
 
LVL 1

Author Comment

by:ndb
ID: 1445745
I've installed IE4 on my computer. Thanks anyway.
0
 
LVL 4

Accepted Solution

by:
zsi earned 200 total points
ID: 1445746
That's probably part of your problem (IE4).  In what order did you install IE4 and VB5?  If you installed IE4 after VB, re-install VB
0
 
LVL 1

Author Comment

by:ndb
ID: 1445747
Thanks very much. It works!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

732 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