Frank, just double click the combo box you have, it will automatically generate the codoing of selectedIndexChanged event at the code behind, then you just need to add the code for what will happen when selectedIndexChanged.
PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender As...
change pictureBox image in runtime.
i hope i get your question..:)
PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
'if the selected text is "Orange" (change to the text you want)
Hi Andy ,
em,sorry andy .. I cannot really get what you mean in your question. Do you have a form named "frmMain"? Because what you mentioned above is Main() method.
if you want to start a project with your Main() method,you need to go to properties window to change the start up page to "sub...