Hello Jurajkomacka,
If the goal is to provide an NX journal without allowing the source (.vb) file to be read, the following command builds a dll binary file which is launched by "File-> Execute-> NXopen".
Creating Class Library
vbc /libpath:%UGII_ROOT_DIR%\managed /t:library /r:NXOpen.dll...