view raw
Jack Jack - 10 months ago 50 Question

How to use multiple textbox entries in part of a url in vb?

I'm making a visual basic program, and I'm trying to make a button go to a link, but two parts of the link need to come from text boxes. I know how to make it go to the url in the text box entry, but I need to know how to make it go to a preset url, only with two parts of the url coming from text box entries.

I tried (""(TextBox1.Text)"?nl="(TextBox2.Text))

and that didn't work. Please help

Process.Start("" & TextBox1.Text & "?nl=" & TextBox2.Text)

Or, in Visual Studio 2015 you can use Interpolated Strings: