Solved

Wrong version of runtime DLL

Posted on 1998-05-11
10
465 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…
Suggested Courses
Course of the Month5 days, 19 hours left to enroll

627 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