Server controls with built-in images

Discussion in 'ASP .Net' started by suzy, Oct 16, 2005.

  1. suzy

    suzy Guest

    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
    suzy, Oct 16, 2005
    #1
    1. Advertising

  2. use a resource file

    http://www.codeproject.com/aspnet/resource_files_in_asp_net.asp

    --
    Regards

    John Timney
    ASP.NET MVP
    Microsoft Regional Director

    "suzy" <> wrote in message
    news:vlz4f.129791$...
    > 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
    >
    John Timney \( MVP \), Oct 16, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?c2lhag==?=
    Replies:
    7
    Views:
    1,458
    =?Utf-8?B?c2lhag==?=
    Mar 7, 2005
  2. John
    Replies:
    1
    Views:
    485
    Joshua Flanagan
    Dec 17, 2005
  3. Leslie

    Can ActiveX controls be built with C#

    Leslie, Mar 10, 2006, in forum: ASP .Net Building Controls
    Replies:
    5
    Views:
    119
    Steve C. Orr [MVP, MCSD]
    Mar 14, 2006
  4. devpoint
    Replies:
    0
    Views:
    246
    devpoint
    Oct 7, 2003
  5. brian

    HTML Server Controls vs Web Server Controls

    brian, Jan 21, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    300
    Steve C. Orr [MVP, MCSD]
    Jan 24, 2005
Loading...

Share This Page