VB Code:
PictureBox1.Image = Image.FromFile(Application.StartupPath & DiceRollResults(1) & ".gif")
I think the problem is in the diceResult(2) part of the code. I can not remember how this is calling the image by name. The name of the image is 1d6black[1].gif
I confused myself, maybe with some questions I can check where to look.
Thanks in advance
EDIT:
Go it, i have the file name before the number not called.




Reply With Quote