Article ID: 185992
Article Last Modified on 12/10/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
This article was previously published under Q185992
SYMPTOMS
When starting a Visual Basic 5.0 application, you might receive the
following error dialog box:
Error
"Wrong Version Of Run-Time DLL"
CAUSE
The wrong version of the run-time file, Msvbvm50.dll, is installed on the
target machine.
RESOLUTION
The most recent version of Msvbvm50.dll must be installed.
To resolve this problem, install a Visual Basic 5.0 application built using
the Application Setup Wizard onto the target machine, or manually copy the
most recent version of Msvbvm50.dll into the System directory (or System32
for NT machines) and register it using RegSvr32.Exe.
To register the run-time file manually, use RegSvr32.Exe (shipped on the
Visual Basic CD in the OS\System and Tools\RegUtils directories) as
demonstrated below:
- On the Windows Start menu, click Run.
- Type in the following and press ENTER:
RegSvr32.Exe MSVBVM50.DLL
You should see a message similar to the following:
"DLLRegisterServer in C:\Windows\System\MSVBVM50.DLL succeeded"
- If you do not see this message, please make sure you have the most
recent version of Msvbvm50.dll and you have RegSvr32.Exe installed in
the Windows System or System32 folder.
NOTE: It is also possible to obtain all of the latest run-time files by
installing the self extracting EXE referred to in the following
Microsoft Knowledge Base article:
180071
: FILE: Msvbvm50.exe Installs Visual Basic 5.0 Run-Time Files
STATUS
This behavior is by design.
Additional query words: kbDSupport kbdss kbAppSetup
Keywords: kbprb KB185992