Hi everyone. I am new to Visual Basic 2012 :eek: and I am having trouble with some code and I am racking my brain as what to do next. I want to get a msg box for pass or fail in my form and my code isnt working
I dont know whether this will even work :confused:
Private Sub Btncalc_click(ByVal sender As Object, e As EventArgs) Handles Btncalc.Click
If Txtstdtrfin.Text >= 50 Then MsgBox("passed") Else MsgBox("Failed")
Can anyone please suggest a better way?
Regards,
Cruise
I dont know whether this will even work :confused:
Private Sub Btncalc_click(ByVal sender As Object, e As EventArgs) Handles Btncalc.Click
If Txtstdtrfin.Text >= 50 Then MsgBox("passed") Else MsgBox("Failed")
Can anyone please suggest a better way?
Regards,
Cruise