> Hi I am fighting a similar problem and so far I found this: Calling
> LabVIEW from C++ Using ActiveX
Thanks for the link, i actually already found this link before. I've
found yesterday how to use Labview.tlb, just add it to the references
of the project, it was probably too easy for me at that time:-) But
now, i'm still stuck as there is no doc about using the interfaces and
classes of this activex to control labview.
The example given on your link is made is C++ and for some reasons,
the wrapper generated for Labview.tlb when i added it to my c# project
doesn't seem to expose the same interfaces and classes as the one used
in the C++ example. I therefore can't use the C++ example in C#.
I've tried to do something like:
LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
Just this line causes labview to launch but then immediately throws an
exception: "Query interface for interface LabVIEW._IApplication
Does somebody knows how to use that control in C#/VB.NET ?