First time here? Check out the FAQ!
x

I have 4 weblinks in one window.

0 votes
asked by about Microsoft Visual Basic 2010 Express
edited by

I need to create a button that opens 4 identical web links in default browser in different tabs but the same window (part of bigger project), but I'm not sure how to code it. Any ideas?

1 Answer

0 votes
answered by (236k points)

Microsoft offers to all its users the possibility to learn coding using online support. There is a section on the Try It page which explains exactly the process required to assign links to controls or buttons. The default code is as follows:

Private Sub OnClick(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
Try
System.Diagnostics.Process.Start("http://www.microsoft.com")
Catch
'Code to handle the error.
End Try
End Sub

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...