FoxPro and .NET Interop
Loading assembly with wwDotNetBridge
I'm trying to use .Net charting, but I can't seem to load the assembly I want.
These work:
loBridge = GetwwDotNetBridge("V4")
? lobridge.loadassembly("System.Windows.Forms")
But these fail:
? lobridge.loadassembly("System.Windows.Forms.DataVisualization")
? lobridge.loadassembly("System.Windows.Forms.DataVisualization.Charting")
Do I somehow need to find them and point to them? I found the file ** System.Windows.Forms.DataVisualization.dll ** in my ** c:\Windows\Microsoft.NET\Framework64\v4.0.30319 ** directory.
Thanks.
These assemblies live in the GAC and because they do they either need to be referenced by their full Assembly name or by their full path. Full assembly name is more likely and you can look those up in Reflector or other .NET disassembler.
More info here:
+++ Rick ---