Question

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

Was it helpful?

Solution

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

vbc /reference:NxOpen.dll myvbsource.vb

(if your assembly is called NxOpen ...)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top