Get the selected item from a listbox

I'm having a hell of a time trying to determine which item is selected in a
single-select listbox when the listbox autoposts. for some reason, the
..SelectedIndex is always -1 and the .SelectedItem is Nothing. What am I
missing?

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!