Adding an image to a control at runtime

Aug 9 2004 7:04 AM
Hi, I wish to add an image to a control on my application at runtime. I am using the Image.FromFile() method and this works fine on the developement machine. But then when i run the application on the test machine, i get an error because it looks for a file with the specified path in my code. How do i ensure that the application is able to look for the image file on the test machine?

Answers (4)