Can anyone help me with this error?
Class does not support Automation or does not support expected interface.
What does this mean?
What causes it?
What does can I do to remedy this?
Printable View
Can anyone help me with this error?
Class does not support Automation or does not support expected interface.
What does this mean?
What causes it?
What does can I do to remedy this?
What is giving you this error? Post some code if you can.
It is a bit of a generic error and we will need more info for a proper answer.
More, much more data needed...Quote:
Class does not support Automation or does not support expected interface.
Well here's the problem:
This problem does not occur while I am testing it (meaning when I run it with a VB Editor, the error does not come) only after I deploy it.
A bigger problem is this:
I don't always get this problem with all the machines I have tried it on. There are 3 to 4 machines where I deployed the program where this problem does not occur. Only 2 machines have this problem (so far).
This is what I know:
I know that Automation Errors occurs in classes and objects right?
My theory is that a 'User Control' that I created is the reason this error occurs. But what I did it is, I did not compile the object as an .OCX, what I did was I included the object as part of the Project so I am assuming this error shouldn't occur. And again I go back to the question why it only happens in isolated cases and not always? Could it be compatibility issues with the OS or the machine?
Any help is greatly appreciated.