Computing.Net > Forums > Programming > visual basic

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

visual basic

Reply to Message Icon

Name: pumpkinslion
Date: October 20, 2009 at 23:59:46 Pacific
OS: Windows XP
Product: Microsoft Windows xp professional edition
Subcategory: General
Comment:

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"



Sponsored Link
Ads by Google

Response Number 1
Name: nbrane
Date: October 21, 2009 at 00:19:08 Pacific
Reply:

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.


0

Response Number 2
Name: Fist (by fmwap)
Date: October 21, 2009 at 00:21:06 Pacific
Reply:

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.


0

Response Number 3
Name: X-TechKid
Date: November 3, 2009 at 18:22:51 Pacific
Reply:

UCase[txtName.Text]="BOB"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: visual basic

List Databses is Visual Basic 6 www.computing.net/answers/programming/list-databses-is-visual-basic-6/15612.html

visual basic and C# www.computing.net/answers/programming/visual-basic-and-c/1113.html

visual basic www.computing.net/answers/programming/visual-basic/9625.html