Solved

Error message when running VB programs

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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