Friday, 3 April 2009

Step by Step installing MS Chart Controls on Visual Studio 2008

Generating wonderful charts in .Net application sometimes can easily get customers blown away. Microsoft purchased some products from Dundas Company about a year and a half ago and implementing theirs charts technology into the products. And from last September they give us the free charting controls (both Web and WinForms) for use in our .NET 3.5 applications.

Step 1: To get start you need to download and install:
Microsoft Chart Controls for Microsoft .NET Framework 3.5 and Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008.

Step 2: Once you have the installation files downloaded, install MSChart.exe first, as the add-on requires this to be installed. Both are quick installs, and should take no more than a few minutes, so when both have been successfully installed to your machine, you can start up Visual Studio.

Step 3: create a new Web or WinForm Application, and now to get the new control into our toolbox, we can right-click on a blank area of it and select Add Tab. Name it something like MSChart:



Step 4, right-click in the new tab and select Choose Items...



We should then see a dialog box like this:



Step 5: Click the Browse button and navigate to the Program Files\Microsoft Chart Controls\Assemblies folder. Here you want to add both the Windows.Form and the Web DLLs. Once they're added, they will be available to select in the list box:



So once they're added, and checked, they should be available in our toolbox:



After you’ve done the configuration, I strongly recommend you to download the Samples Environment for Microsoft Chart Controls from Microsoft and read the docs: Microsoft Chart Controls for .NET Framework Documentation.

In my next post, I will write a quick demo on how to implement MSChart in a Windows Form Application to display a graph from database data.

11 comments:

  1. Thank you very much for this - why couldn't I find this simple type of information on the MSDN site?

    ReplyDelete
  2. Replies
    1. sir can u also tell me the procedure how to add ms knob control in visual stdio 2008. pls revert quickly if possible . i am waiting for your reply

      Delete
    2. sir can u also tell me the procedure how to add ms knob control in visual stdio 2008. pls revert quickly if possible . i am waiting for your reply

      Delete
  3. I followed the same procedure.
    I got both .dll files checked in "choose item" dialog box.
    but its not appearing in the MS chart tab

    Using VS 2008 on windows & professional

    ReplyDelete
    Replies
    1. I got the Chart in toolbox when I reset my toolbox.
      Thank you!

      Delete
    2. sir can u tell me how to add knob in visual studio 2008

      Delete
    3. sir can u tell me how to add knob in visual studio 2008

      Delete