AnsweredAssumed Answered

Create own dotNet instruments driver use in VEE-.NET 4.0 W7P

Question asked by sigiK on Sep 21, 2010
Latest reply on Sep 22, 2010 by sigiK
I want to write my own instrument driver for older instruments in VB.NET 4.0, for use in VEE and .NET environment.
I use a complete new installed system, Windows 7 Pro, VEE 9.2 Pro, Agilent IO Control 15.5 and VB 2010 Express with .NET Framework 4.0.
My simple lib working in the .NET environment, but I can’t load the .NET assembly into VEE.
When I register my.DLL, an error occurs “VEE can’t register the ActiceX control, please run as Administrator”: - -> I start VEE with Administrator rights!
A second error: … my.DLL is not a valid .NET assembly.
I think there is my problem. The .NET assembly is not correct build for VEE. The use of a “Strong Name” didn’t help.

I am a beginner in programming in .NET and VEE. Has anyone a simple example for me?
My goal is the use of the VEE function object browser for programming my own instrument methods and classes.  

Outcomes