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!


White Paper - Effects of AIA Quick Guide to UL 489 or UL 1077
The function of a circuit breaker is to provide overload (thermal) and short-circuit (magnetic) protection to a circuit and its downstream components. A circuit breaker functions like an airbag in a car, protecting circuit components and people by tripping the circuit to interrupt the current flow if it detects a fault condition in the control system. Download Now
White Paper - Guide to Integrate Large-Format Additive
As with any new technology, getting into large-format 3D printing begins with investigation. The first question may be a simple one: what does “large-format” mean? For 3D printers, “large” is a relative term. Many extrusion-based (FFF) 3D printers are referred to as desktop machines, because they fit on table space. Some of these have very respectable build volumes – but when it comes to “large-format,” the machines will need their own dedicated floor space. Large-format 3D printers have significant build volumes and are most often found in professional settings, like manufacturing facilities and R&D centers. 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