Solved

Error message when running VB programs

Posted on 1998-11-09
2
150 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 200 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

680 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