How to Instantiate ObjectFrame in VB.NET

Posted by Suman on Stack Overflow See other posts from Stack Overflow or by Suman
Published on 2008-12-12T05:00:26Z Indexed on 2010/03/15 19:49 UTC
Read the original article Hit count: 335

Filed under:
|

I am trying to reach methods and properties of ObjectFrame through vb.net. But when I declared this as

Dim objOLEObject As ObjectFrame

and then trying to instantiate it as

ObjOLEObject = New ObjectFrame

it shows error like:

"429: Retriveing the COM class factory for component with CLSID {3806e95d-e47c-11-cd-8701-00aa003f0f7} failed due to the following error: 80040154"

To resolve this we re-installed both MS-Office 2003 and VS-2005, but could not get the solution.

Could anyone suggest me how to declare and use this in vb.net?

Thanks.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about office-interop