Last post Nov 29, 2009 02:42 PM by Mazenx
Nov 29, 2009 11:41 AM|Mazenx|LINK
Can someone tell me how to register (in the page) this dll after adding it as a reference? because I want to use the chart control and it gives me this error when i write this :
the error is :
Error 1 The type or namespace name 'Interop' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Mazen\Documents\Visual Studio 2008\WebSites\Gymo\Financial\Summary.aspx 8
I dont konw what to do or how to reference it , I can see this in the bin folder :
I downloaded the mschrt20.ocx file and registered it with cmd , then added as reference microsoft chart control 6.0 .
I tried renaming the dll without the word interop it gives this error :
Error 1 Could not load file or assembly 'MSChart20Lib' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Nov 29, 2009 02:26 PM|SGWellens|LINK
You don't have to do that.
here for an example and links to the correct components.
Nov 29, 2009 02:42 PM|Mazenx|LINK
I had the add on setup file already but I thought it's just an extra add on ( to be installed later ) , then I thought I'll just add the dll file as a reference from ( c:program files : chart control : the 2 dlls there ) then when i ( add any as a reference
) it just doesnt appear in the bin folder , I googled it some guy said use this mschrt20.ocx , and I started using it and it didnt work...I googled it and no results appeared at the end I posted here at the forum , It's working now thanks alot.