I need visual basic code for inputing name and address to 2 separate text box then display in address label....
loulule
0
Newbie Poster
Recommended Answers
Jump to Posthttp://www.daniweb.com/forums/announcement4-2.html
after reading this come back with your code and I wll gladly help if there are any errors.
Jump to Postlabel1.caption = text1.text + text2.text
I give you a very simple code. you can modify it as your requirement.
Jump to Posttry this
Private Sub Command1_Click() Dim a As String Dim b As String a = Text1.Text b = Text2.Text s = Space(3) '3 mean how many space....you can change it Label1.Caption = a + s + b End Sub
All 12 Replies
abhi.navale
0
Light Poster
abu taher
34
Practically a Posting Shark
loulule
0
Newbie Poster
loulule
0
Newbie Poster
abu taher
34
Practically a Posting Shark
loulule
0
Newbie Poster
abu taher
34
Practically a Posting Shark
loulule
0
Newbie Poster
loulule
0
Newbie Poster
abhi.navale
0
Light Poster
loulule
0
Newbie Poster
abhi.navale
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.