Im missing a namespace that I hope someone can point out for me. What Im doing is populating a listbox then applying those results into a variable that gets passed back to a database.
However in my code I have this in a for next loop:
dim s as string
If listbox1.(I wanted to put GetSelected(nCounter) here but that option isnt available)
s = s & listbox1.items(nCounter) <-- nCounter is the variable for the for next loop however I get an error that says: "Operator & is not defined for types String"
End if
I am assuming that I am merely not importing the correct namespace but for the life of me I cant think of one that Im missing. Thanks to anyone that can help me out
However in my code I have this in a for next loop:
dim s as string
If listbox1.(I wanted to put GetSelected(nCounter) here but that option isnt available)
s = s & listbox1.items(nCounter) <-- nCounter is the variable for the for next loop however I get an error that says: "Operator & is not defined for types String"
End if
I am assuming that I am merely not importing the correct namespace but for the life of me I cant think of one that Im missing. Thanks to anyone that can help me out