Class Not Registered Error In Vis Studio IDE

N

N8dagr8

Hello -

I'm using the Spreadsheet WebComponent in a WinForms application.

Because I wanted to handle events from the WebComponent, I followed the
instructions in the MS KB article
(http://support.microsoft.com/kb/328275/EN-US/) and recompiled the OWC11 dll.

After recompiling, I was left with the following dlls:
adodb.dll
AxOWC11.dll
Microsoft.Office.Interop.Owc11.dll
MSCOMCTL.DLL
msdatasrc.dll

I then opened up Vis Studio 2003, and added the AxOWC11.dll components to my
Toolbox: AxChartSpace, AxPivotTable, AxSpreadsheet.

I created my WinForm and compiled my project. I then went to a different
development machine, but brought all my DLLs. I added the same components to
my Toolbox, but when I try to drag any of the components over to a Form, I
get a MsgBox with the following error "Class Not Registered".

The only thing I know is that my first development box had Office 2003
installed (I'm using OWC11) and the second development box had Windows XP
installed.

Hence, I cannot develop on this second machine. Does anybody know how to
either "Register" my recompiled OWC11 DLLs or know to resolve this issue.

Thanks,
Nate
 
A

Alvin Bruney

OWC must be installed on your machine for OWC to work. The events walkthru
only prepares a suitable RCW. Install the OWC components on that machine.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top