ok è vero. cmq come ho già detto nn so nulla di vb.net. sei sicuro che non si usi il + anzi che &?
quindi diventa cosi:
codice:Randomize() nr = Rnd(10) Me.BackgroundImage = CType("my.Resources.img" + nr + ".png", _System.Drawing.Image)
ok è vero. cmq come ho già detto nn so nulla di vb.net. sei sicuro che non si usi il + anzi che &?
quindi diventa cosi:
codice:Randomize() nr = Rnd(10) Me.BackgroundImage = CType("my.Resources.img" + nr + ".png", _System.Drawing.Image)