I am attempting to start java with arguments calling a jar file and other switches. the java pops up for just a millisecond but I don't know what its doing or not doing.
The code I am using is:
I a combo box that reports back the communication port selected.
not sure I have the argument format right.
I do know that the below from a command prompt works fine:
'java -jar tiimagetool.jar BRIDGE COM1 10000'
The code I am using is:
Code:
If chksbridge.Checked = True Then
Dim TIITProcess As New ProcessStartInfo
TIITProcess.FileName = "java"
TIITProcess.Arguments = "-jar tiimagetool.jar BRIDGE " & cmbsbridge.SelectedText.ToString & "10000"
TIITProcess.WorkingDirectory = "c:\tiimagetool"
Process.Start(TIITProcess)
End If
I a combo box that reports back the communication port selected.
not sure I have the argument format right.
I do know that the below from a command prompt works fine:
'java -jar tiimagetool.jar BRIDGE COM1 10000'