944,089 Members | Top Members by Rank

Ad:
Nov 2nd, 2004
0

Is Select Case statement case sensitive in VB6?

Expand Post »
While maintaining a legacy web app, we found what appears to be a case sensitivity "issue" with the "Select Case" statement in VB6.

Is the "Select Case" statement case sensitive? It appears to be to us, but we are somewhat surprised and wanted some additional feedback.

Thanks

PS
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
seevo is offline Offline
1 posts
since Nov 2004
Nov 2nd, 2004
0

Re: Is Select Case statement case sensitive in VB6?

Quote originally posted by seevo ...
While maintaining a legacy web app, we found what appears to be a case sensitivity "issue" with the "Select Case" statement in VB6.

Is the "Select Case" statement case sensitive? It appears to be to us, but we are somewhat surprised and wanted some additional feedback.

Thanks

PS

Yes if you are comparing strings. Of course. "Foo" <> "foo"

Try doing a lcase on the select test.
Reputation Points: 16
Solved Threads: 1
Posting Whiz in Training
mnemtsas is offline Offline
200 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Visual Basic and .asx files
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Low Quality in VB when printing with printer.paintpicture





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC