VB problem - TechRepublic
General discussion
August 16, 2006 at 06:22 AM
silvamsn

VB problem

by silvamsn . Updated 19 years, 10 months ago

select case texttotal.text
case 40
label1.caption=”sssxx”
case 50
label1.caption=”sddxx”
case else
label1.caption=”ssbhx”
end select in this vb prog. in the first time i ictivate the code, it skip the first line (case 40 ). it means suppose texttotal.text was 40, prog. should type in label1 as “sssxx”. but at the first time I run the program it shows what is under case else statement. what is the error on this . Please help me.

This discussion is locked

All Comments