CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: MS Chart

  1. #1
    Join Date
    Oct 2003
    Posts
    35

    MS Chart

    I am trying to gain access to MS Chart...
    I currently have the professional edition of Visual C++ 6.0.

    I found on this site the way to insert MS Chart into my project, but discovered the Microsoft Chart is not one of my Registered ActiveX Controls.

    Researching this on codeguru has shown me that some people have access to it because they have VB 5.0, because it came with that. When I asked a co-worker (who had MS Chart available to him) he said that he had Visual C++ Studio, but had the enterprise edition.

    Is it accurate to say I can get MSChart by either getting VB Studio 5.0 or Enterprise edition of VC++? Any other way? What is the least expensive way to get the MS Chart control?

    Thank you,
    blueSprite

  2. #2
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    2,236
    Assuming its freely distributable (I don't know why it wouldn't be), you can just copy the ocx onto your hard drive and register it. I also like the charting component that comes with Office 2000 and newer (OWC). Its not re-distributable (you must install Office), but it is nice to work with, looks good and is powerful.

  3. #3
    Join Date
    Oct 2003
    Posts
    35
    Thanks for your response...

    I think it's something that is not freely distributable, because it is within certain vis studio editions, but yet not others...

    Search goes on!
    Thanks,
    blueSprite

  4. #4
    Join Date
    Jan 2004
    Location
    Earth
    Posts
    567

    RE: MS Chart

    I upgraded to .net so I can't remeber the exact menu but as as I recall in VC 6 in the project menu->Insert components and controls, one of the options was MSChart. It inserted all of the files into your project automatically. You may have tried this and MSChart wasn't an available option but I thought I would mention it in case you haven't.


    TDM

  5. #5
    Join Date
    Oct 2003
    Posts
    35
    Thanks TDM. Already tried that- that's what start me on my search on how to obtain the MS Chart control- it's not in that list.

    Can someone tell me if my VC++ studio(version 6.0 professional edition) is defective (meaning it SHOULD have the MSChart) or if MSChart is only available in other editions (VB 5.0 or VC++ 6.0 Enterprise edition or other?)???

    Thanks,
    blueSprite

  6. #6
    Join Date
    Apr 2000
    Location
    Boston
    Posts
    124
    From MSDN:
    Note The Chart control ships with Visual Studio 6.0 or later (not Visual C++), so you must have a Visual Studio 6.0 or later license to redistribute it.
    do a search of MSChart.ocx +redistribute to find the article.

  7. #7
    Join Date
    Oct 2003
    Posts
    35
    Yup, I had found that excerpt, but didn't understand what it meant.

    I have Visual C++ version 6.0. How is Visual Studio 6.0 different than that? And if someone else has Visual Studio 6.0, does that excerpt mean that they can freely redistribute it?

    Thanks,
    blueSprite

  8. #8
    Join Date
    Apr 2000
    Location
    Boston
    Posts
    124
    Visual Studio has VC++ and more (Interdev/ VB....). If your company has a licensed version of Visual Studio, then you can redistribute the .OCX. If not, then you will have to get a licensed version of Visual Studio. Are you sure you only have VC++ and not Visual Studio and VC++ was the only component you installed?

  9. #9
    Join Date
    Oct 2003
    Posts
    35
    Mike200,

    Thanks for explaining the difference to me- I was not aware the VC++ but a subset of Visual Studio.

    You asked a good question. It will be tough to find that out, because it takes an act of a deity to get questions like that answered (we are forbidden to install our own stuff, therefore everything has to be tracked down via other groups, through a help system located across the country )

    Drawback of a big company

    But thanks very much, at least I understand what I am trying to track down now. I appreciate the information that everyone has provided.

    blueSprite

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