I have a group of images in my My.Resources. I want to select select images to display dynamically at run time. How do I do this?
\'Static (Compile time) Assig
Sometimes you must change the name (or check to get it automatically from compiler).
Example:
Filename = amp2-rot.png
amp2-rot.png
It is not working as:
PictureBoxName.Image = resources.GetObject("amp2-rot.png")
It works, just as amp2_rot for me:
amp2_rot
PictureBox_L1.Image = My.Resources.Resource.amp2_rot