Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Thursday, July 21, 2011

VB - 52 : Convert Text from Upper case to Lower case

Write an event procedure to convert a text from Upper case to Lower case.

Refer Convert Text from Lower case to Upper case also.


A)    Program Design : 


(B) Property(Controls Used) :

  • 2 Labels
  • 2 Text Boxes (Name TEXT1 with index 0 & 1 respectively, Locked Property is True for the second text box (for getting the result)
  • One Command button with Caption Convert to Lower.
(C) Attaching Code to the Object :



Private Sub Command1_Click()
Text1(1).Text = LCase(Text1(0).Text)
MsgBox "Text is successfully converted to Lowercase"
End Sub











==================================================================
=========================================================

No comments: