Jobs
Author: M. Akram Date Submitted: 8/24/2007 Category: Other Compatibility: .NET This code has been accessed 3776 times.
Email Yourself this snippet:
Draw a textbox and name it textbox1, a command button, give back color of your choice, give font of your choice, keep the text in centre on properties.
Code
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged TextBox1.Text = DateString End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = DateString End Sub End Class