Visual studio image loading in for cycle from resources
问题 In my image resources I have pictures with following names: c1.png, c2.png, c3.png, ... Whereas referring to the first image works with My.Resources.c1 I would like to display them in the cycle like this For i = 1 To numberOfPictures Dim tmpPicture As New PictureBox tmpPicture.Image = cstr(My.Resources.c) & cstr(i) & ".png" next Now this of course doesn't work, because string cannot be converted to System.Drawing.Image. Any ideas how to solve this? I know it's really easy in VB where I did it