Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make User Name case insensitive?

Status
Not open for further replies.

ljCharlie

IS-IT--Management
Apr 21, 2003
397
0
0
US
Below is two lines of vb script that are case sensitive.

Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetWork.UserName = "sabelko"

Is there a way to make the value contain in this WshNetWork.UserName case insensitive? We have users type their user name in capitals and some don't so how do I made this more flexible when comparing user name.

ljCharlie
 
Thanks! I got it working now.

ljCharlie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top