FoxPro and .NET Interop
Loading assembly with wwDotNetBridge
Gravatar is a globally recognized avatar based on your email address. Loading assembly with wwDotNetBridge
  Tom Green
  All
  Mar 14, 2020 @ 10:12am

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.

Gravatar is a globally recognized avatar based on your email address. re: Loading assembly with wwDotNetBridge
  Rick Strahl
  Tom Green
  Mar 15, 2020 @ 12:46am

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 ---

© 1996-2020