I want to use a third-party library so I typed

Option Strict Off
Imports System
Imports NXOpen
Imports System.Diagnostics

but after compiling it says "cant find NXOpen Namespace" and so on

Why is that?

PS: NO, I am NOT using VisualStudio, I make everything in Notepad++ and compile via vbs on commandline

有帮助吗?

解决方案

You should add a reference to your NxOpen assembly when building:

vbc /reference:NxOpen.dll myvbsource.vb

(if your assembly is called NxOpen ...)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top