add to textbox

hello,
this is working fine
ListBox2.Items.Add(ListBox1.SelectedItem)
but instead I would like to have something like this
TextBox1.Items.Add(ListBox1.SelectedItem)
but is not working, the thebox1 is multiline.
apleloisAsked:
Who is Participating?
 
Fernando SotoRetiredCommented:
Hi aplelois;

This will work for you.

        TextBox1.AppendText(CType(ListBox1.SelectedItem(), String) & _
            ControlChars.CrLf)


Fernando
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.