Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Visual Basic 2010 run error

Status
Not open for further replies.

neoleachster

Automotive
Apr 20, 2012
5
I've been trying to compile a VB program that works with Windows XP x32, onto Windows 7 x64. The program basically runs a journal files really, for NX 7.5 to manipulate the CAD parts. The error I'm getting is that it says it can't find "libpart.dll".

Error message:

{"Unable to load DLL 'libpart': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

I've chosen "Any CPU" in the advanced compile options, I've also uncommented the System OS line in the windows application settings, which it says to do so for windows 7.

The target framework (all configurations) is: .NET Framework 4 Client Profile. I've seen that I'm supposed to use version 2.0, but I have had a similar program working with version 4 before so I don't think this is the problem.

In the case before, I had a form which started the console process, and defined the working directory as the root directory of the NX folder. Now however it is just a console application with no user interface.

If anyone has any suggestions it would be much appreciated.

 
Replies continue below

Recommended for you

You probably should contact GTAC for something like this since they can help you verify that you're got the proper tools installed and everything is where NX expects those bit & pieces to be.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Hi John, thanks for the reply. I managed to figure out a way round it. I created a form application that simply ran the console, and specified its working directory as the NX root (the UGII) folder. This worked perfectly, so I'm sure that if the exe was compiled or just ran from the root directory that it would probably work as well, but I haven't tested that idea yet. If I do I will let you know.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor