i am trying to disable a button when text has not been typed in and once the some text has been typed in, the button is enabled. the code i have is not doing what i want it to instead it disables the button forever.
can anyone help??
If txtInvest.Text = "" Then cmdCompute.Enabled = False ElseIf txtInvest.Text > 0 Then cmdCompute.Enabled = True End If
This post has been edited by firebolt: 25 March 2009 - 12:30 AM