using chart in c# application causing problem
-
Hi All, My Application is a windows based(.net 2.0) application using C# I got this error "class not registered (exception from hresult: 0x80040154(regdb_e_classnotreg))" when i try to run my application. In my application am using axMSChart so i include the following dll's AxInterop.MSChart20Lib Interop.MSChart20Lib Interop.MSDATASRC Interop.stdole My application works file when the pc is installed with vc++ SDK + framework 2.0 or else i got this error message how can i solve this plz help me i have to send it to the customers place With Regards Amjath
-
Hi All, My Application is a windows based(.net 2.0) application using C# I got this error "class not registered (exception from hresult: 0x80040154(regdb_e_classnotreg))" when i try to run my application. In my application am using axMSChart so i include the following dll's AxInterop.MSChart20Lib Interop.MSChart20Lib Interop.MSDATASRC Interop.stdole My application works file when the pc is installed with vc++ SDK + framework 2.0 or else i got this error message how can i solve this plz help me i have to send it to the customers place With Regards Amjath
I don’t think it has anything to do with the VC++ SDK not being installed. What you can do is to check if the MSChart control (mschrt20.ocx under windows\system32) is present and registered on the computer where you got the problem – if it’s missing, you have to install it. I’m not sure if you have to install MS Office or if it is enough (and legal) to copy and register the MSChart OCX file only. Hope this helps!
-
I don’t think it has anything to do with the VC++ SDK not being installed. What you can do is to check if the MSChart control (mschrt20.ocx under windows\system32) is present and registered on the computer where you got the problem – if it’s missing, you have to install it. I’m not sure if you have to install MS Office or if it is enough (and legal) to copy and register the MSChart OCX file only. Hope this helps!
Thanks for your valuable input. how to install and register this mschrt20.ocx. sorry for the inconvenience. With Regards Amjath
-
Thanks for your valuable input. how to install and register this mschrt20.ocx. sorry for the inconvenience. With Regards Amjath
First copy the OCX file to windows\system32, then execute the following command regsvr32 c:\windows\system32\mschrt20.ocx More information about regsvr32 here, http://support.microsoft.com/kb/249873