What does "Automation Error" mean

I wrote an app in VB6.
On some machines it runs fine. On others we ge "Automation Error" on startup.
I packaged this with the Packaging Wizard.
Any Ideas?
I only have 25 pts left.
a6106aAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

VbmasterCommented:
Does the install package contain the STDOLE2.TLB file?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:

Download and install vbrun60sp3.exe from this site:
http://support.microsoft.com/support/VBasic/runtime.asp?LNG=ENG&SA=ALLKB

If still not working:
1-What components are you using?
2-Can you add a couple of msgbox to find the line that causes the error?
0
a6106aAuthor Commented:
Took a look at the "Package/Support" files that the Wizard produces. Don't see that file listed.
??
0
VbmasterCommented:
I got that kind of Automation Error message once when I did not have that file referenced, try add it in the References (OLE Automation) and make a new setup program.
0
OmegaJuniorCommented:
Greetings,

Automation error typically acts up when VB can't communicate with a library or control. This library or control could be a standard item, or one you created yourself. If the first is the case, check if all used controls and libraries are included in the package. If the second is the case, do indeed check if stdole2.dll (OLE Automation) is refered to in your project, as well as in the project of the library. Usually referring to stdole2.dll only is required when working with an ocx. VB includes a reference to stdole2.dll automatically when a new project is created, no matter what type of project.

Imagine!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.