Hi i curentlly have 4 images that i need to load into a picture box at different times, it works fine for me but if i send it to a friend it wont work because the file path is different.

i use this at the moment:

If filmType = "Jumper" Then
img = "E:\TheatreBooking\bin\images"
lblFilmInfo.Text = ("A genetic anomaly allows a young man to teleport himself anywhere.")
lblFilmInfoTwo.Text = ("This gift leads him into a war that has existed for centuries.")
End If

Anyone know how i ca solve this?


You need to add those images into the resources files like this:

PictureBox1.Image = My.Resources.imagename

You can find the whole explanation, here.