Solved

automation error??

Posted on 1999-01-01
3
170 Views
Last Modified: 2010-05-03
what does "Automation Error" means...it a runtime error but i don't quite know when it will appear...if i redo the same transaxtion again the error doen't happen...so i'm quite puzzled at what is realy causing the error...can anybody help???? thanks!
0
Comment
Question by:wenchang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 1453606
Hi,

Well this is what the help file says about this error :

" An error occurred while executing a method or getting or setting a property of an object variable. The error was reported by the application that created the object.

Check the properties of the Err object to determine the source and nature of the error. Also try using the On Error Resume Next statement immediately before the accessing statement, and then check for errors immediately following the accessing statement."

And that is exactly what you should do, check for more information about the error and try to pinpoint where or which call is givin' the trouble.

Hope this helps
:O) bruintje

0
 
LVL 4

Expert Comment

by:chabaud
ID: 1453607
What is the error code ?

Do you talk about database transaction ?
0
 

Accepted Solution

by:
gemme earned 50 total points
ID: 1453608
If you are trying to make two OLE transactions at the same time or trying to start one before the other is completed you will get this error only in a compiled exe and not in design mode.  There is a notice on the on MSDN that I ran into when I had the same problem.  This usually will occur if you have a timer in your program that is doing some automation calls.  If you look on MSDN there are a couple of work arounds but unfortunately no fixes.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

696 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