"But if I try to use Textbox1.Text and Textbox2.text it doesnt work. O_o"
O_o is exactly right. That doesn't make sense..it's basic string concatination..
Please take 2 screenshots : one for each messagebox().
Code:
Dim processStartInfo = New ProcessStartInfo()
processStartInfo.FileName = Application.StartupPath & "\qbms.exe"
Dim commandLineString As String = "-o extract.txt " & TextBox1.Text & " " & TextBox2.Text
processStartInfo.Arguments = commandLineString
MsgBox("About to start qbms with params: " & commandLineString)
Process.Start(processStartInfo)
Code:
Dim processStartInfo = New ProcessStartInfo()
processStartInfo.FileName = Application.StartupPath & "\qbms.exe"
Dim commandLineString As String = "-o extract.txt levels.pak \new"
processStartInfo.Arguments = commandLineString
MsgBox("About to start qbms with params: " & commandLineString)
Process.Start(processStartInfo)
we should see the same string : / (assuming you set the TextBox1.Text and TextBox2.Text to "levels.pak" and "\new")