Hello!
At first i'm not sure it's correct subforum. If it isn't please move.
I'm new to VisualBasic so this might be stupid question. I want application after select combo box value - they are written in it - it will change picturebox image using my.Resources.
For example - If in combobox i choose "Dog" in picturebox it will show image which in my.resources is called "Dog" and if i wanted to choose "Cat" it will change image to this, which is so called in my.resources.
I've dont something like this:
But it doesn't work. I will be very thankful for any help.Code:Public Class Form1 Private Sub ChampionName_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChampionName.SelectedIndexChanged Champion_Icon.Image = My.Resources.ResourceManager.GetObject("ChampionName.SelectedIndex") End Sub End Class
MS





Reply With Quote