I've followed the help and created a new solution with VS2005./Windows Xp 64bit/ measurement studio 8.0.2.334 (version of the windows forms dll)
This was about the simplest possible solution, brand new project created with the NI windows application templat just including the Win Forms component and then adding a graph control to the window.
However when I try to run the application I get
------ Build started: Project: WindowsApplication2, Configuration: Debug Any CPU ------
C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin\LC.exe /target:WindowsApplication2.exe /complist:Properties\licenses.licx /outdir:obj\Debug\ /i:"C:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.Common.dll" /i:"C:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.dll" /i:"C:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.WindowsForms.dll" /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /i:"C:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.Styles3D.dll" /i:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualC.dll
LC : error LC0000: 'Could not load file or assembly 'file:///C:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.WindowsForms.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.'
Done building project "WindowsApplication2.csproj" -- FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
The Platform target IS set to x86.
Does this combination actually work ?
Paul