Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error message when running VB programs

Posted on 1998-11-09
2
Medium Priority
?
155 Views
Last Modified: 2010-04-30
I made the installation using the standard VB Setup Wizard.  Nothing out of the ordinary, but when I tried to install it, I got an error message saying "The ordinal 401 could not be located in the dynamic link library OLEAUT32.dll".  Now, every time I try to run a VB program on that machine, I get the same error message.  I confirmed that this dll exists
in the System32 menu & it appears to be loaded in the registry (as far as I know, but I'm not sure I'm checking it correctly).
Does anyone know what this is and how to resolve it?

0
Comment
Question by:methpe
2 Comments
 
LVL 4

Expert Comment

by:gencross
ID: 1443952
Did you be sure the oleaut32.dll is the same version you are running on other machines?  Look in the windows\system of one you know works and compare it to the one you are shipping with the installation.
0
 
LVL 2

Accepted Solution

by:
Poddy earned 400 total points
ID: 1443953
It means your OLEAUT32 dll is out of date

OLEAUT32 and OLEPRO32 need to be updated... but as they're probably in use , you need to do it on reboot

As far as I recall, installing IE4 will solve this

(Or there's a patch somewhere on the microsoft site... try searching their knowledge base for OLEAUT32 - i think it's a MSVC++ update)
0

Featured Post

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!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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 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

916 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