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"
picFilms.Load(img)
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?

Hi,

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

PictureBox1.Image = My.Resources.imagename

You can find the whole explanation, here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.