Create Executables from journals
Create Executables from journals
(OP)
Hey guys,
I'm looking into creating Windows executable files from some Visual Basic journal scripts I've written. Any idea how to do this?
I'm looking into creating Windows executable files from some Visual Basic journal scripts I've written. Any idea how to do this?





RE: Create Executables from journals
RE: Create Executables from journals
RE: Create Executables from journals
www.nxjournaling.com
RE: Create Executables from journals
(assuming that Visual Studio or Visual Studio Express is installed)
From an "NX 75 Command Prompt" window...
CODE
The "/t:library" will generate a dll file (as opposed to an exe) which is probably what you want if you will be running the "journal" in an interactive NX session - perhaps from a custom toolbar.
HTH,
Joe
RE: Create Executables from journals
i am using NX 8.5 and visual studio 2012 is installed. where is NX command prompt to do that?
RE: Create Executables from journals
sorry, found it
RE: Create Executables from journals
NX 8.5 command prompt does not recognize vbc as a valid command!
RE: Create Executables from journals
The most likely reason is that MSvcDir environment variable is not defined or the variable is not pointing to the correct directory.
When the NX shortcut "All Programs, Siemens NX8.5, NX Tools, NX Command Prompt" executes the ugiicmd.bat script, the script invokes %ugii_base_dir%\ugopen\ufvars.bat script which expects to use the MSVCDir environment variable to set the path for MS Visual Studio compilers. If the MSvcdir variable is not set there is a short message about ufvars.bat issued in the command shell window. If the the variable is correctly set the feedback from the ufvars.bat will almost completely fill the command shell window.
HTH,
Joe
RE: Create Executables from journals
Will the journals run faster if they are compiled?
Thanks,
whe
RE: Create Executables from journals
In general, yes.
www.nxjournaling.com