Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


compile .VB jornal without visual studio

compile .VB jornal without visual studio

compile .VB jornal without visual studio


I have a simple journal file:-

Imports System
Imports NXOpen

Module NXJournal
Sub Main (ByVal args() As String)

Dim theSession As Session = Session.GetSession()
Dim theUI As UI = UI.GetUI()

msgbox("Hello World")

End Sub
End Module

Is it possible to compile this into a signed EXE, DLL etc. without visual studio and only using .net framework and the local install of NX (11 in my case)

Thanks in advance.



RE: compile .VB jornal without visual studio

I'm guessing there would be open source compilers available (I found a few using Google)
To be able to Sign the resulting exe or dll sou also need to add (as a resource) the correct NXSigningResource.res to you project.

Ronald van den Broek
Senior Application Engineer
Winterthur Gas & Diesel Ltd
NX9 / TC10.1.2

Building new PLM environment from Scratch using NX12 / TC11

RE: compile .VB jornal without visual studio


There is a command line syntax in
In nx document.

Make a search "compile"

RE: compile .VB jornal without visual studio

Something like this

C:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc /libpath:"C:\Program Files\Siemens\NX 11.0\NXBIN\managed" /t:library /r:NXOpen.dll /r:NXOpen.Utilities.dll /r:NXOpen.UF.dll /r:NXOpenUI.dll your.vb

RE: compile .VB jornal without visual studio

Worked perfectly,

Many thanks,


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


White Paper – Data Security and Know-How Protection
Our data is constantly exposed to the danger of being intercepted or stolen as it wends its way over global data networks. Data security measures and measures for protecting intellectual property should not, however, first be implemented when data is exchanged – companies must lay the foundation for these measures within their own organization. Download Now
White Paper – Collaboration in the PLM Context
The influence exerted by the Internet of Things (IoT) means that there is a steadily growing need for collaboration in industry. Partners from new industries and areas of application need to be integrated in cross-company business processes to ensure that the lifecycle of smart, connected products can be managed from end to end. Download Now
White Paper – The Challenges of PLM Collaboration
There is cross-company collaboration - and then there is cross-company collaboration. Large-scale corporations and joint ventures need different mechanisms to protect intellectual property from those required for communication between different company locations with heterogeneous IT landscapes. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close