[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Entirely too damn funny.



> >I scored 10 out of 12.   And whether it's because I know too much about 
> >Star Trek, or too much about Christian Metal bands is 
> >knowledge I'm taking to my grave.

> Hm. Interesting, Mr. Emery, considering that I, who was a die-hard
Christian 
> metal fan in my less-enlightened Jr. High and early High School years, 
> (shudder) only scored 8 out of 12.
> 
> I think you just know too much. Period. :)

It's a distinct possibility.  I didn't know too much about VB error number
430, though.

Had to look it up in the MSDN Library, since the VB documentation magically
jumps from error 429 to error 444.

Go figure.

For the record:

Not all objects expose an Automation interface. This error has the following
cause and solution: 

The class you specified in the GetObject or CreateObject function call was
found, but has not exposed a programmability interface. 
You can't write code to control an object's behavior unless it has been
exposed for Automation. Check the documentation of the application that
created the object for limitations on the use of Automation with this class
of object.

You changed a project from .dll to .exe, or vice versa. If, for example, you
have a .dll server already compiled and registered, and then you change the
project type to .exe and recompile it, the fact that the .dll and .exe are
already registered on your system prevents you from creating either object.
You must manually unregister the old .dll or .exe to avoid the problem. 
This is caused by the combination of project compatibility and changing a
project from an .exe to a .dll. In project compatibility, the CLSID is
preserved, but not the IID. Since the CLSID is preserved, the class ends up
being registered with two servers-one an in-process server, the other a
local server. When an instance is created, the in-process one is chosen.
When the querying of the interface occurs, the .dll does not support the IID
because it's new.

For additional information, select the item in question and press F1.

HTH, HAND!

-- 
Chris Emery
Web Commerce Developer
chris.emery at ecoutlook_com
http://www.ecoutlook.com  
---------------
Unsubscribe by going to http://www.actwin.com/MediaNation/OtR/