Image.FromFile

E

Eliyahu Goldin

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

Eliyahu
 
G

Guest

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
 
E

Eliyahu Goldin

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
 
G

Guest

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.
 
E

Eliyahu Goldin

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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top