Dear Experts,
My project involves developing a Windows Application where i need to load a picture and i used the following code,
Bitmap myBitmap3 = new Bitmap(@"C:\App \images\logo.bm p");
however, this is not convenient as if i try to use the same project folder in another pc, it doesn't work. so i tried the following,
Bitmap myBitmap3 = new Bitmap(@"\image s\logo.bmp");
however, it doesn't work either,
Can you help me?
My project involves developing a Windows Application where i need to load a picture and i used the following code,
Bitmap myBitmap3 = new Bitmap(@"C:\App \images\logo.bm p");
however, this is not convenient as if i try to use the same project folder in another pc, it doesn't work. so i tried the following,
Bitmap myBitmap3 = new Bitmap(@"\image s\logo.bmp");
however, it doesn't work either,
Can you help me?
Comment