Member Login

Remember Me
Forgot Password?
Join Us!

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!

Join Eng-Tips
*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.

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

VB.NET error . . . Unable to load DLL 'libpart'

VB.NET error . . . Unable to load DLL 'libpart'


I have created a "code" from the journal file.

When I run it from Tools Journal Play, it work fine . . .

But if I copy the same code into Visual Studio and start Debugging, I have always
this error message :  

Unable to load DLL 'libpart': The specified module could not be found.

The error is located on this line :

Dim theSession As Session = Session.GetSession()

What's wrong ??? Please Help !!!

I tried to compile in command line, but no success ...

Win XP SP3
VB Visual Studio express 2005
Framework 2.0
Console Application

Thank a lot

RE: VB.NET error . . . Unable to load DLL 'libpart'

Visual Studio won't have access to all of the ug shared dll's.
There may be a way to get it to see these however this thread may also be of use

Mark Benson
Aerodynamic Model Designer

To a Designer, the glass was right on CAD.

RE: VB.NET error . . . Unable to load DLL 'libpart'

hi! I am new to nxOpen...i HAVE NX7.5 AND vs 2008. When I try to run a prog (vb or c#), I get the following error:
in case of an external app:
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libpart':
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at NXOpen.Session.SessionForceLoad()
at NXOpen.Session.GetSession()
at ConsoleApplication1.EX_Curve_CreateArc.Main() in C:\........\EX_Curve_
CreateArc.vb:line 28
Press any key to continue . . .
and for a dll project I get
"error in external library".....function : ufusr

I know that for c++(I think) you have to implement ufusr...but why am I getting this error?
there is no doc about how to set the path in case of the first error...anyone has a clue?....this is becoming rocket science for me............:(
1 second ago  

RE: VB.NET error . . . Unable to load DLL 'libpart'


Since you mentioned an external app, my guess is that you need to run it in the NX7.5 environment (via the NX7.5 Command Line).

NX Software Developer

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!

Share a File


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close