Solved

Error 432 - OLE Automation problem

Posted on 1997-07-31
2
214 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

773 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