How to run an other .VB code ?

Hi,

For NX, I want to centralize several codes that I created for template import in an single button (code).

So, for the import of an "A" format, I have a code called "Import_A.vb" and it works very well. I have the same thing for the "B", "C", "D" and "E" formats.

I would like to make a code (start.vb) which opens a window with 5 choices in the form of a checkbox. If the user chooses the "A" format, then "Start.vb" will have to start "Import_A.vb" and "import_A.vb" will perform the import on format "A".

I do not need to make the file "import_A.vb", I need help to create the file "Start.vb".

You can help me ?

Best Regards!

If you do not have an author license and plan on running this as a journal, note that all the code will need to be combined into a single journal file. This is a key limitation to using journals; one journal cannot call another.

That said, it is possible to combine your journals; in the final journal, each import journal could be converted to a subroutine (or set of subroutines) and code could be added to display a windows form to get the user's input. A tutorial on creating a windows form can be found here:
http://nxjournaling.com/content/using-winforms-journals