我目前在表单上有5个文本框和一个按钮。当我单击按钮时,我希望我的应用程序为每个文本框打开一个firefox选项卡,如下所示:
Private Sub btnSearch_Click_1(sender As Object, e As EventArgs) Handles btnSearch.Click
System.Diagnostics.Process.Start("Firefox", "www.google.com/" & textbox1.text)
End Sub
因此代码只适用于一个文本框,但我希望它能够为第二个文本框打开第二个选项卡。像这样:
Private Sub btnSearch_Click_1(sender As Object, e As EventArgs) Handles btnSearch.Click
System.Diagnostics.Process.Start("Firefox", "www.google.com/" & textbox1.text)
'How do I get this to open a new tab?
System.Diagnostics.Process.Start("Firefox", "www.google.com/" & textbox2.text)
End Sub
有什么想法吗?