AJANTA PHARMA LTD ALCATEL INDIA LTD ALCATEL BUSINESS SYSTEMS ALCATEL SSD CEGELEC INDIA ALCOA-ACC INDUSTRIAL CHEMICALS LTD ALEMBIC CHEMICALS ALEMBIC PHARMACEUTICALS LTD ALFA LAVAL SAUNDERS ALGEMENE BANK NETHERLANDS N.V. ADIDAS WORLDWIDE ADOBE SYSTEMS INDIA PVT LTD ADP WILCO INDIA PVT LTD ADVANI-OERLIKON AFL PVT LTD AGILENT TECHNOLOGIES AHLUWALIA CONTRACTS AHMEDABAD ELECTRICITY CO AIR CANADA AIR FRANCE AIRLANKA LTD. ACER INDIA ACS ADANI GAS LTD Adani Exports Ltd Adani Infrastructure Ltd Adani Wilmar Ltd. FERGUSON AARTI DRUGS ABB INSTRUMENTATION LIMITED ABB LTD ASEA BROWN BOVERI LTD ABBOTT LABORATORIES ABC INDIA ROYAL BANK OF SCOTLAND RBS BUSINESS SERVICES PRIVATE LTD ACC BRIDGESTONE Ace Glass Containers Ltd. I would like to mention that this exception is thrown after the RaView() constructor is called and before the OnLoaded event handler is executed.EMPLOYER ID 1 2 3 4 5 6 7 8 9 10 11 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51ĮMPLOYER NAME 3COM CORPORATION A C NIELSEN RESEARCH SERVICES A. I am a little bit baffled at this error because I know the exists in the directory where it is being referenced from. I haven't been able to figure out why this exception is being thrown. The system cannot find the file specified. An unhandled exception of type 'System.IO.FileNotFoundException' occurred in WindowsBase.dllĪdditional information: Could not load file or assembly 'Interop.CW3DGraphLib, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. When I attempt to activate the RaView, the following exception is thrown. I can build my solution without error and the WPF application runs fine as long as I don't attempt to activate the RaView (done with a button click). Private void OnLoaded(object sender, RoutedEventArgs routedEventArgs)
#NI COMPONENTWORKS DATAGRAPH CODE#
Next is the code behind for given XAML view. The XAML view I am attempting to host the ActiveX control in contains a stack panel. From here I was able to begin writing code to host the ActiveX control inside my WPF application (intellisense was even working with it). I copied these assemblies to my NI WPF application's lib directory and added references to them from the Visual Studio Solution Explorer. Doing so produced 2 DLL's of interest underneath the project's bin directory, specifically and. To get a copy of these references, I created a new NI WinForm application, added the CWGraph3D control to the Toolbox, added the graph to the application's form, and built the solution. I figured that if I could add these references to my NI WPF application, then I could add the ActiveX 3D graph to my view programmatically. I found that in order to use the CWGraph3D Control the following references are needed (and maybe some other references from the System namespace I am forgetting).
#NI COMPONENTWORKS DATAGRAPH HOW TO#
So far I have not been successful.īefore I began writing the code shown below I found some NI WinForm sample applications online to figure out what references I needed to use the 3D graph and how to interact with it. However, I know that it is possible to host ActiveX controls in WPF applications so that is what I have been trying to do. After doing some research I learned that NI has a ActiveX ComponentWorks 3D graph that can be added into WinForm applications fairly easily. DigitalGraph, Graph, IntensityGraph, etc.). It is my understanding that there is not a WPF 3D graph I can use out of the Visual Studio Toolbox that I can just drop into the designer (i.e. I would like to display data in a 3D graph in my NI WPF application.