• Can anyone provide me the usage details or documents or code related to this AxMSChart20Lib.AxMSChart control using C#?
    Thursday, January 25, 2007 4:12 AM


All replies

  • Hi,

    You don’t need to post the same issue again. We will focus on one thread. Thank you

    Here I find a thread in vb about it:


    • Proposed as answer by kubed011 Friday, October 21, 2011 6:47 AM
    Thursday, January 25, 2007 9:46 AM
  • It seems a vb control, so you'd ask it in the vb forum.

    Thank you for understand.

    Thursday, January 25, 2007 10:01 AM
  • Thanks figo,

    but i have to create my own chart control. Not any third party control. And this control is present in C-sharp 2005 also, not only in VB. This is the code i wrote, in Csharp 2005, it gives me an exception.

    AxMSChart20Lib.AxMSChart chart = new AxMSChart20Lib.AxMSChart();

    chart.Title.Text = "My first chart";

    When i use this code, i get this exception,

    "InvalidActiveXSateException was unhandled"

    Exception of type:
    'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.

    Can u tell, how can this be corrected?



    Thursday, January 25, 2007 10:18 AM
  • I posted the answer to this question at Yes, you can dynamically create an MS Chart. Almost anything that can be dropped onto a form can be contructed dynamically. Why not?


    Thursday, February 08, 2007 1:02 PM