Convert The First letter in Upper Case

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2007
Posts: 72
Reputation: geetajlo is an unknown quantity at this point 
Solved Threads: 0
geetajlo geetajlo is offline Offline
Junior Poster in Training

Convert The First letter in Upper Case

 
0
  #1
Feb 4th, 2008
Hi friends i have a big problem... i want only the first Character to be Upper and all the rest lower and then the next name to be upper and then lower.. for eX. Geeta Lopez
Can u Plz Help Me
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 77
Reputation: ivatanako is an unknown quantity at this point 
Solved Threads: 5
ivatanako ivatanako is offline Offline
Junior Poster in Training

Re: Convert The First letter in Upper Case

 
0
  #2
Feb 4th, 2008
Here's a example on how it is done..

  1. Dim a As String = "geeta lopez"
  2. MsgBox(StrConv(a, VbStrConv.ProperCase))
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 72
Reputation: geetajlo is an unknown quantity at this point 
Solved Threads: 0
geetajlo geetajlo is offline Offline
Junior Poster in Training

Re: Convert The First letter in Upper Case

 
0
  #3
Feb 5th, 2008
Hi ivatanako, thanks 4 ur answer. i have nt mention it earlier but i want any name that i type in a textbox to be like this not only ''geeta lopez".
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 77
Reputation: ivatanako is an unknown quantity at this point 
Solved Threads: 5
ivatanako ivatanako is offline Offline
Junior Poster in Training

Re: Convert The First letter in Upper Case

 
0
  #4
Feb 5th, 2008
If I understand you clearly,

  1. StrConv(textbox1.text, VbStrConv.ProperCase)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 7581 | Replies: 3
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC