Solved

Error message when running VB programs

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now