Interface not registered on VB Debug

J

John Covert

Folks,

I have an Outlook Add In that works fine except when I debug it in VB6.

The offending statement is:

Set oCommandBars = gobjOutlookApplication.ActiveExplorer.CommandBars

gobjOutlookApplication.ActiveExplorer.CommandBars does exist and is
populated as one would expect.

The error is:

-2147221163
Automation Error
Interface not registered

Watching gobjOutlookApplication.ActiveExplorer shows a CommandBars property
AND IT CAN BE VIEWED in the Watch window.

OS = XP (upgraded from Win2000)
Outlook = version 9 : 2000 (downgraded from OL2002 - test machine)
Office = version 9 : 2000 (downgraded from Office2002 - test machine)

I have registered every DLL in System32. No joy. I have reinstalled Office
2000. No joy.

Can anyone be of service?

Regards,

John Covert
 
Top