There have an error
"Object Reference not set to an instance of an object"
when using objusername.intuserid=listbox1.selecteditem.value
.
There have an error
"Object Reference not set to an instance of an object"
when using objusername.intuserid=listbox1.selecteditem.value
.
Check if listbox1.SelectedItem
is null, or listbox1.SelectedIndex = -1
before accessing the property. This basically means nothing is selected.