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.
 
Show us the code you have in place now, perhaps it will give us some
info...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top