×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Visual studio not recognizing NX imports

Visual studio not recognizing NX imports

Visual studio not recognizing NX imports

(OP)
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.

RE: Visual studio not recognizing NX imports

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.

RE: Visual studio not recognizing NX imports

(OP)
thanks, that was it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources