What im trying to do is to open my default web browser from a button and to search for google. And in google search box to type what im searching from textbox in my form and to click the search buton in my default browser.
im using this code
im using this code
VB.NET:
Dim url As String
Dim browser As String = "www.google.com"
url = browser
Try
If Not (browser = "www.google.com") Then
Try
Process.Start(browser, url)
Catch ex As Exception
Process.Start(url)
End Try
Else
Process.Start(url)
End If
Catch ex As Exception
End Try