Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
assume that you want to compare the string contained in the text property of the txtName control with the name Bob. Which one of the following conditions should you use in the If..Else statement?
txtName.Text='BOB" or
txtName.Text=Ucase{"BOB"} or
UCase[txtName.Text}=BOB" or
Ucase[txtName.Text}="bob"

i think you already know the answers to ths qstns. else
why the "multpl chc" format? are you phantom of the forum?
elsewise use google & find vb coding techniques.

cuz it's a homework question?
I don't think you copied the symbols right.
Either way if you can't figure this out, maybe you should give up now.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |