Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. using chart in c# application causing problem

using chart in c# application causing problem

Scheduled Pinned Locked Moved C#
helpcsharpc++comquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amjath Rahman
    wrote on last edited by
    #1

    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

    T 1 Reply Last reply
    0
    • A Amjath Rahman

      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

      T Offline
      T Offline
      ThommyJ
      wrote on last edited by
      #2

      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!

      A 1 Reply Last reply
      0
      • T ThommyJ

        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!

        A Offline
        A Offline
        Amjath Rahman
        wrote on last edited by
        #3

        Thanks for your valuable input. how to install and register this mschrt20.ocx. sorry for the inconvenience. With Regards Amjath

        T 1 Reply Last reply
        0
        • A Amjath Rahman

          Thanks for your valuable input. how to install and register this mschrt20.ocx. sorry for the inconvenience. With Regards Amjath

          T Offline
          T Offline
          ThommyJ
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups