Solved

automation error??

Posted on 1999-01-01
3
166 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

831 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