Question:
Visual Basic - Adding Items To a listview?
A Person
2012-03-31 01:58:00 UTC
how do you add items to a list view. i tried but the program crashes
Four answers:
2012-03-31 02:18:27 UTC
try

var1 & "+" & var2
2016-10-03 15:51:52 UTC
on your button click experience use the code under ''solid off any areas on the commencing up or end myTextbox.text fabric = myTextbox.text fabric.Trim() ''If this is now no longer already there then upload new merchandise If now no longer myCombobox.products.includes( myTextbox.text fabric) Then myComboBox.gadgets.upload( myTextbox.text fabric) end If Have relaxing
cool_clearwater
2012-03-31 02:02:24 UTC
lstFriends.Items.Add(txtFriend.Text)



"lstFriends" is the name of the listbox



txtFriend is the name of the textbox that contains the friends name you want to add
mickeysinonehand
2012-03-31 02:01:58 UTC
Should be nameoflist.items.add("text")



If I'm wrong, sorry, haven't messed with vb in a while.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...