How to create ObjectFrame object in VB.NET

I am trying to find ObjectFrame methods and properties via vb.net. But when I declared it as

Dim objOLEObject As ObjectFrame

      

and then tries to create it like

ObjOLEObject = New ObjectFrame

      

it shows an error like:

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

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

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

Thank.

0


source to share


2 answers


Make sure the dll is registered with regsvr32. Check by looking in the CLSID registry.

Make sure all dependent dlls are available.



I believe this is not a registered class error.

+1


source


Adding to what Josh says, have you checked that all the dependency files are present?



This thread might help.
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/88a6ea68-f476-4231-822f-27fabe59f458/

0


source







All Articles