Image.FromFile

  • Thread starter Thread starter Guest
  • Start date Start date
Is the image in the same directory with the dll for the assembly? That's
where you call is looking for it.

Eliyahu
 
hello Eliyahu,

Thanks for ur reply. My image i.e. NC.jpg is in the same folder as my aspx
file. But still i get file not found.

please help.

thanks,
bsmalik

Eliyahu Goldin said:
Is the image in the same directory with the dll for the assembly? That's
where you call is looking for it.

Eliyahu
 
That's why you can't find it.The dll is in the bin directory. Either use
file path, or thing about another way of getting the image.

Eliyahu

bsmalik said:
hello Eliyahu,

Thanks for ur reply. My image i.e. NC.jpg is in the same folder as my aspx
file. But still i get file not found.

please help.

thanks,
bsmalik
 
hello Eliyahu,

I tried by moving the image to the bin folder and still does not work and i
really dono y. Do u have an msn or email id? Please help me.

Thanks.
 
try specifying the full path of the image like c:\inetpub\wwwroot\...

Eliyahu

bsmalik said:
hello Eliyahu,

I tried by moving the image to the bin folder and still does not work and i
really dono y. Do u have an msn or email id? Please help me.

Thanks.
 
Back
Top