Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Winform external application

Status
Not open for further replies.

sheenangel99

New member
Oct 13, 2008
15
Hi All,
I have created a NXWizard C# application and added a winform to it. When i try to execute the batch file i get the below error

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'NXOpen.Utilities, Version=2206.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Program.Main(String[] args)
I have added the NXopen dlls in the references but i cant figure out this error.

Any help would be greatly appreciated please.

Thanks in advance
 
Replies continue below

Recommended for you

I suggest running your EXE through the NX command prompt. This starts a BAT (or possibly COM - I forget) file that sets up the environment for your program to run in.

Edit: forgot to mention, if you are running in batch mode (no GUI), your winform application may error out. No forms can be shown when in batch mode.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor