On Sep 30, 9:10 pm, Family Tree Mike
<FamilyTreeM...@discussions.microsoft.com> wrote:
> Andrew is correct, that there should be a + " " + between the two textbox
> items.
[quoted text clipped - 27 lines]
>
> > > Very thanks.
For hard to read concatenations, I tend to use the String.Format()
option:
Process.Start("C:\lame", _
String.Format("--preset standard {0} {1}", textBox1.Text,
textBox2.Text))
(imo) It makes spacing and other concerns much easier to look at.
Thanks,
Seth Rowe
kimiraikkonen - 01 Oct 2007 19:13 GMT
Thanks all :) Multi-parameter launch is OK now but i couldn't hide my
process while processing. It's still shown on the screen.
Dim myProcess As System.Diagnostics.Process = New
System.Diagnostics.Process()
myProcess.StartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Hidden
myProcess = System.Diagnostics.Process.Start("c:\lame",
"--preset standard" + textbox1.text + " " +
textbox2.text).
myProcess.WaitForExit()
MsgBox("Conversion Completed Successfully",
MsgBoxStyle.Information, "Completed")