The Basics of Charting with the MS Chart Control - What if the Chart Control is not installed?
(Page 2 of 4 )
Depending on the VB version, you may or may not find the control. In this case, you need to download it from a location where it may be available. One such location is in the UK and comes in the form of a ZIP file containing the control (if the link is not active, you may have to search for other locations). After unzipping, place the content in the C:WindowsSystem32 directory, the directory for all ActiveX controls. After this you need to register it in the Windows registry by executing the following in your DOS window (type it in and hit return).
C:windowsSystem32> regsvr32 mschrt20.ocx
You should get a RegSvr32 message that says DLLRegisterServer in mschrt20.ocx succeeded. If you still do not find it in the components screen, you can click on the Browse... button on the screen that matches the first picture in this tutorial. It opens the System32 folder, where you can locate it as shown in the next picture.

Next: Organization of the chart >>
More Code Examples Articles
More By Jayaram Krishnaswamy