Solved

Error message when running VB programs

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

708 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

16 Experts available now in Live!

Get 1:1 Help Now