how to use IMPORTS for your own file.vb

how to use IMPORTS for your own file.vb

i want to define some functions and class on another file.vb

then use IMPORTS to import these function and class definitions.

If you have a .net author license, compile your functions/classes to a .dll file. In future projects, add this .dll as a reference; you can then access the function/classes as needed.

How you add a reference will be dependent on your choice of IDE, reference your IDE help files for specifics.

I dont have ".net author license".
I see NX-UG has the option to Journal in C++ or Java.
Do you need "author license" to compile C++ or Java in NX-UG?
Thanks

Carlo Tony Daristotile

Yes, these other languages would also require an author license to compile in these languages. I don't remember the names of these other licenses; if you are interested in them, you should contact your reseller.

Hello,
IT has notified me that I have ( dot net ) author license already available on my workstation.
What are the steps to compile a Journal.vb ?
Thanks

Carlo Tony Daristotile

The compile process depends on the IDE you are using. Using Visual Studio, you would add a Siemens supplied "resource" file to your project, then issue a "build project" command. Finally, you would need to "sign" the executable file (.dll or .exe) with the Siemens signing utility.

For more in-depth instructions, refer to the NX programmer's guide help file.
Home -> NXOpen -> NXOpen programmer's guide -> License checking -> signing process