Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile .VB jornal without visual studio

Status
Not open for further replies.

NXJockey

Automotive
Feb 9, 2009
104
Hi,

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.

Cheers,

NXJ
 
Replies continue below

Recommended for you

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
 
Yes.

There is a command line syntax in
In nx document.

Make a search "compile"
 
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
 
Worked perfectly,

Many thanks,

NXJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor