我想在VB.NET 4.0中为旧仪器编写自己的仪器驱动程序,用于VEE和.NET环境。我使用全新安装的系统,Windows 7 Pro,VEE 9.2 Pro,Agilent IO Control 15.5和VB 2010 Express
使用.NET Framework 4.0。我在.NET环境中使用简单的lib,但我无法将.NET程序集加载到VEE中。当我注册my.DLL时,出现错误“VEE无法注册Ac
ticeX控件,请
以管理员身份运行“: - - >我以管理员权限启动VEE!第二个错误:... my.DLL不是有效的.NET程序集。我认为存在问题。
.NET程序集不是VEE的正确构建。
使用“强名称”没有帮助。我是.NET和VEE编程的初学者。
有没有人给我一个简单的例子?我的目标是使用VEE函数对象浏览器来编写我自己的仪器方法和类。
以上来自于谷歌翻译
以下为原文
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.