in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Help with C++

Last post 04-18-2008 4:49 AM by C1_DaveT. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-08-2008 12:01 PM

    Help with C++

     Hello,

        I've just started using ComponentOne with Visual Studio 2005 C++ and haven't found any examples in the language, only VB and C#.  I've translated a couple of lines of C# successfully but the following isn't accepted in any translation that I've tried.  The goal is to make a vertical bar chart with several series.

     c1Chart1.ChartGroups[0].ChartType = Chart2DTypeEnum.Bar;

     

       I'm following the C# code from the documentation "Common Usage for Basic 2D Charts> Simple Bar Charts".

       Any examples you could send would be appreciated.

          Thanks,

             BarrySp


     

  • 04-09-2008 9:45 AM In reply to

    Re: Help with C++

    Please specify what type of application you are creating in Visual C++ 2005.

     

    I would like to know, it uses managed code or its MFC based.

     

    -Dave.

     

     

     

    <BarrySp> wrote in message news:203610@10.0.1.98...

     Hello,

        I've just started using ComponentOne with Visual Studio 2005 C++ and haven't found any examples in the language, only VB and C#.  I've translated a couple of lines of C# successfully but the following isn't accepted in any translation that I've tried.  The goal is to make a vertical bar chart with several series.

     c1Chart1.ChartGroups[0].ChartType = Chart2DTypeEnum.Bar;

     

       I'm following the C# code from the documentation "Common Usage for Basic 2D Charts> Simple Bar Charts".

       Any examples you could send would be appreciated.

          Thanks,

             BarrySp


     



    http://helpcentral.componentone.com/cs/forums/p/74873/203610.aspx#203610

  • 04-09-2008 11:32 AM In reply to

    Re: Help with C++

     Thanks for the interest!  I'm using managed code and not MFC.  There is an example with MFC in my downloaded directories (and it runs) but I haven't been able to find the proper translation into managed of either that or the C# code.  I'd really like to use ComponentOne so I hope this is possible.

  • 04-16-2008 2:54 AM In reply to

    Re: Help with C++

    Please check the attached sample written in VC 2005, which creates a bar chart using two data series.

     

    -Dave.

     

    <BarrySp> wrote in message news:203654@10.0.1.98...

     Thanks for the interest!  I'm using managed code and not MFC.  There is an example with MFC in my downloaded directories (and it runs) but I haven't been able to find the proper translation into managed of either that or the C# code.  I'd really like to use ComponentOne so I hope this is possible.



    http://helpcentral.componentone.com/cs/forums/p/74873/203654.aspx#203654

  • 04-17-2008 2:58 PM In reply to

    Re: Help with C++

     Thank you, that code worked.  For the next step, to use all of the options that would make the chart look professional would I look at C# examples and try to translate them, or is there a set of examples in VS2005 C++ (or examples in VS2003 C++) ?

        Thanks again,

            Barry
     

  • 04-18-2008 4:49 AM In reply to

    Re: Help with C++

    For our .Net controls currently our samples are not available in Visual C++.

     

    As far as properties and features are concerned, use of Visual C++ should not be making any difference while using controls.

     

    All methods and properties are used in similar way in all languages, only difference would be in the syntax of code which depends on the language.

     

    In case of any feature related problem you may let us know.

     

    -Dave.

     

    <BarrySp> wrote in message news:204006@10.0.1.98...

     Thank you, that code worked.  For the next step, to use all of the options that would make the chart look professional would I look at C# examples and try to translate them, or is there a set of examples in VS2005 C++ (or examples in VS2003 C++) ?

        Thanks again,

            Barry
     



    http://helpcentral.componentone.com/cs/forums/p/74873/204006.aspx#204006

Page 1 of 1 (6 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.