New Posts  All Forums:Forum Nav:

Help with VB

post #1 of 2
Thread Starter 
so im taking courses now for my software development program and im stuck on an error handling sstage of my program..
so i have to throw an exception if the number entered is either not a number of is a negative number as of current im doing this
Code:
 Try
            intRunner1 = CInt(txtRunner1Time.Text)

        Catch ex As Exception
            lblError1.Text = "Please insert Correct Time"

        End Try
for the negative number is there a way for me to use and if statement?
i dont want answers i want help understanding.
post #2 of 2
Thread Starter 
got it lol
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming