Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Encounter Ole Automation Error when about run application

Posted on 1998-01-09
4
Medium Priority
?
1,760 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

876 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