Kerry Moorman wrote:
Robert,
VB's StrConv function will do that. For example:
StudentName = StrConv(StudentName , VbStrConv.ProperCase)
I don't know of a ".Net" way of accomplishing the same thing.
For ProperCase, the ".NET" way is exactly the same as VB6, no difference.
The following is from VB2005 Help -
Visual Basic 6.0 Visual Basic 2005 Equivalent
vbUpperCase VbStrConv.UpperCase
vbLowerCase VbStrConv.LowerCase
vbProperCase VbStrConv.ProperCase
vbWide VbStrConv.Wide
vbNarrow VbStrConv.Narrow
vbKatakana VbStrConv.Katakana
vbHiragana VbStrConv.Hiragana
vbUnicode No equivalent constant. You can achieve the same functionality
by using the Convert method.
vbFromUnicode No equivalent
ShaneO
There are 10 kinds of people - Those who understand Binary and those who
don't.