"Give up"? To quote Darth Vader "I find your lack of faith disturbing". ;]
Here is the deal, programming is not easy if it were easy EVERYONE would do it. In the beginning there is plenty of trial and error and there are going to be times you simply want to throw your box out the window. Believe me, I was there. But what is giving up really going to net you? Nothing. Moving onto VBA is also of little good since the same fundamentals (mostly) that apply to
VB.NET apply to VBA as well as every other programming language (And before someone goes off and says XYZ is completely different in FORTRAN as compared to
VB.NET I am talking about the logic involed and so forth).
The code that I posted was a bit of an error on my part (I write code mostly off the cuff on here and sometimes it can be error prone). You should find that this code works:
If Mark >= 80 then
label1.Text = "A"
ElseIf Mark >= 60 AND Mark < 80 then
label1.Text = "B"
ElseIf Mark >= 40 AND Mark < 60 then
label1.Text = "C"
Else
label1.Text = "D"
End If
If you run into a problem, for example, the end of statement expected error do a google search for it. Chances are it will give you the answer faster then any of us can respond to it. Patience is truly a virtue here (in programming) otherwise you will drive yourself absolutely mad.
Finally, and I hate to say this, but if you keep up with the "quitters attitude" programming might not be for you. Very rarely is anything that is worth doing in life easy, programming is no different.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library:
Wrox Books 24 x 7
Did someone here help you? Click

on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================