hello
i have read an article how to add or remove items from one listbox to another.
There is a button to add the selected items from listbox1 to the another.
Within the click event of the add button is :
dim li as listitem
for each li in listbox.items
if li.selected=true then
listbox2.items.add(li.text)
end if
next
when i implement this as windows application then an error says that listitem is not defined,
so how can i implement it as windows application
thank you for the time and for the help
i have read an article how to add or remove items from one listbox to another.
There is a button to add the selected items from listbox1 to the another.
Within the click event of the add button is :
dim li as listitem
for each li in listbox.items
if li.selected=true then
listbox2.items.add(li.text)
end if
next
when i implement this as windows application then an error says that listitem is not defined,
so how can i implement it as windows application
thank you for the time and for the help