Solved

Encounter Ole Automation Error when about run application

Posted on 1998-01-09
4
1,509 Views
Last Modified: 2008-02-01
I have encounter this Ole Automation runtime error with the
message "runtime error -2147418113 [8000ffff]. Ole Automation Error." when I click on my application.exe.

my olepro32.dll version is 5.0.4055 and oleaut32.dll version is 2.20.4049. And I am not using any Ole Automation Server objects.

Any idea how I can solve this or how this error can be generated?
0
Comment
Question by:wombat032397
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 200 total points
ID: 1450110
The OlePro32.dll & oleaut32.dll version on my machince is build 4118. Try to get the updated versions frm microsoft, or get SP3. If you aren't using ole, remove the reference to it it the References box. Is this error occures onlt when running the EXE file or from the VB IDE?
It will also help if you tell what version of vb are you using
0
 
LVL 4

Expert Comment

by:rantanen
ID: 1450111
Can't help making this comment. One MS document says this error code means "Catastrophic failure" :-)

But seriously, are you by any change using RichTextBox in your app?

Could you give a little bit more information.
0
 

Author Comment

by:wombat032397
ID: 1450112
The VB version I am using is VB4.0 (32-bit). And this error came
out when I click on my application.exe

There are no RichTextBox being use in the application.

Both my olepro32.dll and oleaut32.dll should have been the most
updated version cause it was installed be microsoft office 97.

btw, what does this 2 dll files actually does?
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1450113
Those dlls are ole support for your apps. As I said, try to remove everything that has something with OLE if you can in the References, and then recompile.
BTW: I think there were already two service packs release for Office97, so it doesn't nesseaserly means you have the msot updated version. As I said, I have a newer one
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

743 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

10 Experts available now in Live!

Get 1:1 Help Now