Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual studio not recognizing NX imports

Status
Not open for further replies.

aluminum2

Aerospace
Joined
Apr 27, 2010
Messages
218
Location
US
I am new to visual studio and I am trying to complile a file to a dll. I am wondering if I have to add something for visual studio to recognize the NX imports. I am getting an error on every line that references an object or class for NX. All the vb or windows stuff seem to be fine.

 
From you saying the NX imports, I'm guessing you mean you have lines at the top of your code such as: "Imports NXOpen" and "Imports NXOpen.UF", but have you actually referenced the NX dll's in your vb project?
If you are unsure...If you click on the "References" tab in visual studio on the left hand side you should see the references to the default framework dll's such as system, system.data etc. You need to add the dll's that you are importing in your code aswell. The NX ones side under the UGII/managed/ folder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top