Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Oct 13, 2008
Messages
15
Location
NL
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
 
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

Back
Top