Good afternoon fellow eng-tips users,
I have created a script in Visual Basic which loops through and measures the minimum distance between each solid body and every other solid body in my session. The problem is, that the measurement sometimes fails... When it does I get a result of 0mm...
I've solved this problem now.
For anyone who wants to know, use the following in app 1:
dim newprocess as new process()
newprocess.startinfo.filename = "Filelocation"
newprocess.startinfo.arguments = "variable"
newprocess.start()
then in the second application, use:
dim argumentsplit() as...
Hi,
I've written a form application in VB 2010 that defines a variable, and then runs a console application. I need to pass that single variable (which is a string) from the form application to a console application, (which is a separate program, not a console within the same project). I need...
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...
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...