I have a list of images in the resource file of a VB project and a particular picture box on my form gets populated with an image depending on certain conditions:
Later on in my program I want to query the name of the image in the picturebox. Technically I could create a variable and pass the name of the image in the same piece of code above but I dont like creating unnecessary variables if I am able to extract the information via code.
Is this possible?
Code:
picNotify.Image = My.Resources.[ImageName]
Is this possible?
Comment