Bu dersimizde tek satır ile Google yapımını gostereceğim..

Gerekli olanlar:

1 adet textbox
1 adet button


Kod:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "google" Then System.Diagnostics.Process.Start("www.google.com.t r") End If If TextBox1.Text = "facebook" Then System.Diagnostics.Process.Start("www.facebook.com ") End If If TextBox1.Text = "sanalkurs" Then System.Diagnostics.Process.Start("www.sanalkurs.ne t") End If If TextBox1.Text = "hotmail" Then System.Diagnostics.Process.Start("www.hotmail.com" ) End If If TextBox1.Text = "meteliksizler" Then System.Diagnostics.Process.Start("www.meteliksizle r.net") End If end sub

__________________