Write a VB program to accept 2 given strings , concatenate them and find the length of the resultant string.
Refer Total words,Characters,sentence,length of ... also.
Refer Total words,Characters,sentence,length of ... also.
(A)Program Design :
(B) Property(Controls Used) :
- 4 Labels
- 4 Text Boxes (Text 1,2,3,4)
- One Command Button (Caption-Concatenate)
(C) Attaching Code to the Object :
Private Sub Command1_Click() Text3.Text = Text1.Text & Text2.Text Text4.Text = Len(Text3.Text) End Sub |
(D) Output :
(E) Errors :
If found any errors while running your VB program, or want to put your comment about any program , please click Comment section , to post.
===============================================
===============================================
No comments:
Post a Comment