VB 6 – StrConv()

In this example, you will learn about the string handling funciton called StrConv(). That converts the string into following types

  • vbKatakana
  • vbHiragana
  • vbUpperCase
  • vbLowerCase
  • vbUnicode
  • vbWide
  • vbNarrow
  • vbProperCase
  • vbFromUnicode

Example Code:

Private Sub Command1_Click()

Dim str As String

str = Text1.Text
Text2.Text = StrConv(str, vbUpperCase)

End Sub

Output: StrConv()

Output - String Function - StrConv()
Output – String Function – StrConv()

Please support us by disabling your adblocker or whitelist this site from your adblocker. Thanks!

turn of adblocker imag