Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27418

Learned help with some code

$
0
0
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

Viewing all articles
Browse latest Browse all 27418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>