Hi,
I've solved the Error myself.
Here is the result.
Anyway thanks for this code, learned more.VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Static lastclick As Double = 0 Dim ThisClick As Double = DateAndTime.Timer If ThisClick > lastclick + 0.5 Then TextBox1.Text = "First Click" Else TextBox1.Text = "Second Click" End If lastclick = DateAndTime.Timer End Sub
sparrow1





Reply With Quote