views:

357

answers:

2

hello, i am having an awful time with axspreadsheet for vb.net 2008. the simplest example is i just add the control to the form. it compiles on one computer, but it doesnt compile on any other computer. i may be missing a reference or a prerequisite but i have searched for about 10 hours, and i have not gotten any insight into this. thank you so much for any help.

this is the error that i get when i try to run it

an error occurred creating the form. see exception.innerexception for details. the error is:class not registered (exception from HRESULT:080040154 (regdb_e_classnotreg))

A: 

Looking at the error, it seems you are missing a COM component.

I guess, you should try to re-install the component, start a fresh app & drop the control on the form to see if that works (on the machine, where it is not working).

shahkalpesh
tried that already. i've tried this on 3 different machines. it works only on one machine even though i have vb.net 2008 installed on another one
See if the COM component is registered? Did you install the component as an Admin?
shahkalpesh
A: 

I guess you copy-paste the dll which you imported to your project and there is no any installed Excel on your computer. You should install Excel before add reference AxSpreadSheet component or register that component as COM component. But I'm sorry I don't know how to register.

dihejaso