VB Code:
Dim NewTask As String = InputBox("TASK") ListView1.Items.Add(NewTask)
It's saying String 'NewTask' can not be converted. Please help!
Printable View
VB Code:
Dim NewTask As String = InputBox("TASK") ListView1.Items.Add(NewTask)
It's saying String 'NewTask' can not be converted. Please help!
Try
Dim lvItem As New ListViewItem
vItem = New ListViewItem
lvItem.Text = "This is my text"
lListview1.Items.Add(lvItem)
Pete
try this
Dim NewTask As String
NewTask = InputBox("TASK")
List1.AddItem (NewTask)
Ok thanks. How could I make it so it has a check box next to each item?
Change the 'Checkboxes' property to True