I have a form with a text box and a form with a list box. I would like to be able to push a button on the form with the text box and have it be added to a list box. any help?
ng5 9 Light Poster
Recommended Answers
Jump to Postyes it is very simple, for example you have a formA having textbox and formB has a listbox , now put this coding at you button.
Try formB.listbox1.items.add(textbox1.text) Catch ex As Exception MsgBox(Err.Description) End Try
this will solve your prob .
Regards
All 3 Replies
renzlo 4 Junior Poster in Training
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
ng5 9 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.