Solved

Error 432 - OLE Automation problem

Posted on 1997-07-31
2
210 Views
Last Modified: 2012-06-27
In my VB5 program that uses OLE Automation, I use a CreateObject statement :

Dim x as Object

set X = CreateObject("reflectionibm.application")
.
.

When I run the program under the VB5 (Professional edition) development environment in Windows WorkStation 4.0, the program works ok and as expected. When I compile the program into a standard EXE and ran the EXE I hit the following error :

   432 - filename or classname not found during automation            operation

I think the problem may be due to some Registry problem, what I don't understand is why the pgm works under VB5 development environment while the compiled EXE fails.
0
Comment
Question by:tanwee
2 Comments
 
LVL 7

Accepted Solution

by:
faster earned 100 total points
ID: 1429155
I myself have not had such problem so far, but I guess it might be related with your type library.  If the control supports dual interface, then the complier might try to look for it and however it fails somewhere.  When you run it in devlopment phase, it is using the dispatch interface so is OK.  Maybe you can try to use dual interface in your code as try again in development env and see how.                  .
0
 

Author Comment

by:tanwee
ID: 1429156
I am not familiar with the type library etc and running short of time- so we cannot  pursue farther on  your pointer. we're be moving the application to WIN95 where the executable does work. Thanks anyway
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

708 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