Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21131

Type mismatch error trying to removing item from listbox.

$
0
0
Hi everyone. I am working on an activity to help students match instruments to sounds. I have them in a list called InstrumentList, and the student answer is in StudentAnswerLBL.caption.

I thought this would work,

Main.InstrumentList.RemoveItem Main.StudentAnswerLBL.Caption

but I get a type mismatch error. Am I missing something? Thanks!

Viewing all articles
Browse latest Browse all 21131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>