M
Mathieu Chavoutier
Hi.
I want to open an Image. But, I don't know how to do it in a relativ way :
I have a directory with pictures : Picture.
It is located in my work directory.
So, how can I open the image ?
For the moment, I have that, and it does not work :
Image newImage = Image.FromFile("../Picture/Computer.jpg");
I have tried this also :
Image newImage = Image.FromFile("Picture/Computer.jpg");
But, same result : it does not find the file.
Any idea ?
I want to open an Image. But, I don't know how to do it in a relativ way :
I have a directory with pictures : Picture.
It is located in my work directory.
So, how can I open the image ?
For the moment, I have that, and it does not work :
Image newImage = Image.FromFile("../Picture/Computer.jpg");
I have tried this also :
Image newImage = Image.FromFile("Picture/Computer.jpg");
But, same result : it does not find the file.
Any idea ?