Include images in an assembly.

S

Shark Bait

Right now I have a web control that serves as a header for all of our
intranet sites. The assembly in in the GAC but it has images (jpg) that are
located in a directory on the server. Is there a way to compile these images
into the assembly?

Thanks
 
S

Steve C. Orr [MVP, MCSD]

Compiling the images into the assembly is the easy part. (Mark them as
embedded resources in the property window.)
Getting them back out of the assembly and displaying them in a page is the
hard part.
You need a special page (or even better yet, an HTTP Module) that only
outputs the image(s).
 
S

Shark Bait

What kind of terms would I do a search for? Do you know of any tutorials or
articles?
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top