use a resource file
http://www.codeproject.com/aspnet/re...in_asp_net.asp
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"suzy" <> wrote in message
news:vlz4f.129791$. uk...
> Hi,
>
> I want to develop a server/custom control that uses images. However is
> there a way I can embed the images into the DLL/assembly rather than
> individual files which are referenced by the control? By the way, the
> control can be used by many applications and many web pages so I'm looking
> for a generic solution.
>
> I've heard about embedding the images into the assembly but how do I read
> them back out?
>
> Can anyone point me in the direction of an example please?
>
> Thanks in advance.
>
> S
>