Tut Files(For VB 2010)- http://www.mediafire.com/?sharekey=d2e79274779652bcab1eab3e9fa335ca557ce0eea5...
Tut Code-
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("HelloWorld!", MsgBoxStyle.Critical) ' MsgBoxStyle.Crit... isn't needed, I just wanted to show the picture End Sub Private Sub TextBox1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseClick If TextBox1.Text = "Enter Text here!" Then TextBox1.Text = "" Else End If End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox(TextBox1.Text, MsgBoxStyle.Exclamation) 'MsgBox.... isn't needed, just there to show End Sub
End Class
Link to this comment:
All Comments (0)