|
-
May 14th, 2005, 09:02 PM
#1
Thread Starter
Lively Member
-
May 14th, 2005, 09:06 PM
#2
Fanatic Member
Re: Uppercase and Lowercase regonised the as the same.
Please explain why you don't want to use the ToUpper() or ToLower() functions.
-
May 14th, 2005, 09:14 PM
#3
Thread Starter
Lively Member
-
May 14th, 2005, 09:19 PM
#4
Fanatic Member
Re: Uppercase and Lowercase regonised the as the same.
VB Code:
If MyTextBox.Text.ToLower().Equals("yomammaisaho") then
'
End If
will not alter whatever is in the textbox, it will only return a lowcase string.
-
May 14th, 2005, 09:20 PM
#5
Re: Uppercase and Lowercase regonised the as the same.
How about:
[Highlight=VB]
Const sHardCode as String = "VISUAL BASIC"
...
If Textbox1.Text.ToUpper = sHardCode then
...
-
May 14th, 2005, 09:39 PM
#6
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|