CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Karnataka, Bangalore
    Posts
    121

    Project dead line is near. help me out please.............

    Hi,
    I have to incorporate a graph control in my application. I tried using MS Chart control. But I couldnt come out with a solution. The online msdn help describes the chart control wrpto VB. I really find it difficult to incorporate in VC. Please some one find out a solution for this. I will have to just plot the values from a grid control. Advise me how to use MS Chart control in VC or prescribe me some other ocx and also tell me how to use that ocx.

    Thanks and regards,
    Bala


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Project dead line is near. help me out please.............

    Have you been able to insert it into your project OK? When you do that from the component gallery, VC++ creates a wrapper class which SHOULD provide all the methods to match the VB 'properties'. For example, if there are VB properties called 'Title' (string), 'Row' (integer), 'YValue' (float), then the wrapper class should have GetTitle(), SetTitle() (using BSTR), GetRow(), SetRow(), GetYValue() and SetYValue(). Does this not happen?

    The MS Chart control here at work hasn't been installed properly and getting admin. to redo it is impossible, so I can't test it myself.



    --
    Jason Teagle
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured