Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET Rookie need help with code for a button on a form

Status
Not open for further replies.

dpu

IS-IT--Management
Jan 24, 2005
179
US
Hello all. Hoping someone can help w. code. I am fairly new to VB and have been playing around with it. I created a windows form that displays the IP addresses for different devices on my network. I do this by a selection from a combo box which once the item is selected displays the information into a text box. The form I have has a button next to the text box and what I want this button to do is once the user clicks on it takes them to the web GUI of the IP address displayed in the text box. I used the following code System.Diagnostics.Process.Start(" I need the current IP address to display after the slashes?
 
Assuming the textbox is named TextBox1:

System.Diagnostics.Process.Start(" & TextBox1.Text)



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Thanks that worked!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top