Hi everyone, I recently had to ask for help using using a TextBox to Replace text in URL to navigate a Webpage.
And thanks to Paul, He sent me a code close to this one:
So what it does it replaces {0} with the content of TextBox1.
I was now wondering how to use the same thing starting a process, by replacing text using "Process.Start" in my command line, or simply executing a text in cmd?
Example:
c:\Program Files\Matador\start.exe -easy level1
How can replace the text "level 1" with a TextBox, so I choose the leverl my self. I am very new in vBNet and I tried different ways, and also changed Pauls code, but cant figure it out..
If anyone had an Idea for this, Then thank you very much in advance!
PS, A Big thanks to .Paul for helping out with Replacing text in URL..
And thanks to Paul, He sent me a code close to this one:
Code:
WebBrowser1.Navigate(String.Format("http://SHOP-ID/page1/?id={0}", TextBox1.Text))
I was now wondering how to use the same thing starting a process, by replacing text using "Process.Start" in my command line, or simply executing a text in cmd?
Example:
Quote:
c:\Program Files\Matador\start.exe -easy level1
If anyone had an Idea for this, Then thank you very much in advance!
PS, A Big thanks to .Paul for helping out with Replacing text in URL..