I need to start an NX session with a specific journal run simultaneously

Hello,
I have an external app. that start NX with a journal. The original journal will open a prt file and prompts will be activated so as to populate user selections.

After I start this process, part is opened but NX closes itself. Do you have any idea?

Here below you can find an example code that start NX with a journal.

Dim propertiesProcess As ProcessStartInfo = New ProcessStartInfo()
propertiesProcess.FileName = "C:\Program Files\Siemens\NX 12.0\UGII\ugraf.exe"
propertiesProcess.Arguments = " -auto=" + "D:\HelloWorld.vb"
Try
Dim myProcess As Process = New Process()
myProcess.StartInfo.UseShellExecute = False
myProcess = Process.Start(propertiesProcess)
Catch e As Exception
MessageBox.Show(e.Message,
"Error Message",
MessageBoxButtons.OK,
MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1)
End Try

If you have an external application that you want to use to start and control an NX session, I think you need to use "remoting". I've not used it myself (an author license is required), but there is example code that ships with NX.