I'm trying to output a picture to an imagebox. This is my code
path = "E:\gallows" & Str(lives) & ".jpg" MsgBox (path) imggallows.Picture = LoadPicture(path)
As you can see, I'm trying to concatenate a string and then use that string to loadpicture(). I've realized that my problem is that there should be an extra set of quotes around path. When the messagebox comes out, it says "E:\gallows2.jpg" as it should, but what I need in the third line of code is imggallows.picture = loadpicture(""path"") but obviously that doesn't work. I think this truly is a string problem.
















