Give the location of the picture for Picture box

Jun 4 2007 12:45 AM

Hi. Im using a picturebox to display some pictures. I m having a problem with giving the path of the picture. if the pictures are stored in a folder (pics) in .../bin/debug/pics/ . it is possible to give the complete url for the filder (F:\c#\MovieBase\MovieBase\bin\Debug\pics\xy.jpg). but if I m change the drive where the project is being developed (Ex:- F: to C:) i have to change the complete pathe again. is there any solution to give the location of the image without specifying the complete path.


Answers (4)