PRB: Installation Error with Setup Wizard in Visual Basic 5.0 (198252)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q198252 SYMPTOMS
If you create a setup program for your Visual Basic application using the
setup wizard in Visual Basic 5.0 and then install it on a target computer,
which uses either Windows NT 4.0 SP3, Windows NT 4.0 SP4, or Windows 95 as
the operating system, the following errors may occur:
The ordinal 401 could not be located in the dynamic link library
OLEAUT32.dll.
Invalid procedure call or argument, An unexpected setup error has
occurred!
CAUSE
There is a version mismatch with the Msvbvm50.dll file. The following
version of the Msvbvm50.dll file causes this error:
File Name Date Version Size
-----------------------------------------------------
Msvbvm50.dll 11/18/97 6.0.73.22 1340688
This version of the Msvbvm50.dll file ships with the following book by
Sybex:
MCSD: SQL Server 6.5 Database Design Study Guide
By Kevin Hough
ISBN: 0-7821-2269-8
The Sybex software contains a non-release beta version of the Visual Basic
run-time DLL, Msvbvm50.dll (version 6.00.73.22). Because the version number
is higher than any other released versions of the Msvbvm50.dll file, it
will replace any existing Msvbvm50.dll file on the target computer.
RESOLUTION- Unregister the Msvbvm50.dll file and remove it on both the development
computer and the target computer.
To unregister the Msvbvm50.dll file, use the Regsvr32.exe utility. The
Msvbvm50.dll file resides in the Windows system directory. For example,
on Windows NT enter the following line using the Start/Run menu option:
regsvr32 /u C:\WINNT\SYSTEM32\MSVBVM50.DLL
When the Msvbvm50.dll file is successfully unregistered, delete or
rename it from the Windows system directory.
- Download the Msvbvm50.exe file from the Microsoft Web site as specified
in the following Microsoft Knowledge Base article:
180071
: FILE: Msvbvm50.exe Installs Visual Basic 5.0 Run-Time Files
- Run the Msvbvm50.exe file on the development computer.
- Recreate the setup program for your application.
REFERENCES
For more information on problems relating to this version of the
Msvbvm50.dll file, please see the following article in the Microsoft
Knowledge Base:
193358 PRB: Books Online Causes an IPF at 00DE:00000003
For more information about downloading Microsoft Support files, please see the following article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbBug kbprb KB198252 |
---|
|