I have been using the image.fromfile to set images to a text box but I always have to use a full file path. Like here;
Code:
  PictureBox1.Image = Image.FromFile("G:\VB.NET\Application1\Resources\Image1.jpg")
PictureBox2.Image = Image.FromFile("G:\VB.NET\Application1\Resources\Image2.jpg")
However if I install the application on another computer then surely this won't work as it needs a path relative to where it is installed. I tried "\Resources\Image1.jpg" but this doesn't seem to work. I need to find away so it works on all computers. I don't know if it changes this when the application is published but I don't have access to a second computer to test it. Any one know how to do it?