Smart questions
Smart answers
Smart people
Join Eng-Tips Forums
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • 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.
Jobs from Indeed

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.

fddd (Mechanical) (OP)
10 Feb 11 9:50
Hi,

I have created a "code" vb.net 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 ...

Configuration:
NX6.0.5
Win XP SP3
VB Visual Studio express 2005
Framework 2.0
Console Application

Thank a lot
 
MSPBenson (Mechanical)
21 Feb 11 8:38
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 http://www.eng-tips.com/viewthread.cfm?qid=290183&page=10

Mark Benson
Aerodynamic Model Designer

To a Designer, the glass was right on CAD.

Sandman420 (Computer)
12 Apr 11 8:26
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  
MarckyMON (Computer)
22 Apr 11 4:12
Sandman420,

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

Marc
NX Software Developer
 

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!

Back To Forum

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