ASP to Excel

Discussion in 'ASP General' started by A Fu, Aug 25, 2004.

  1. A Fu

    A Fu Guest

    Hello,

    I create html table in an ASP page, set Response.ContentType =
    "application/vnd.ms-excel". In one cell in the html table, there's an image
    tag: <td colspan="3"><img border="0" src="img/CRG_logo.gif"></td>. When excel
    opens, the cell will show the little image not found icon instead of the
    image itself.

    I have no idea why that happens, is there a solution for this? I'd
    appreciate any help, thanks.

    A Fu
    A Fu, Aug 25, 2004
    #1
    1. Advertising

  2. "A Fu" <A > wrote in message
    news:...
    > Hello,
    >
    > I create html table in an ASP page, set Response.ContentType =
    > "application/vnd.ms-excel". In one cell in the html table, there's an
    > image
    > tag: <td colspan="3"><img border="0" src="img/CRG_logo.gif"></td>. When
    > excel
    > opens, the cell will show the little image not found icon instead of the
    > image itself.
    >
    > I have no idea why that happens, is there a solution for this? I'd
    > appreciate any help, thanks.


    Not really an ASP issue - but did you try a fully qualified URL to the
    image?

    --
    Tom Kaminski IIS MVP
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    http://mvp.support.microsoft.com/
    http://www.iisfaq.com/
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
    http://www.tryiis.com
    Tom Kaminski [MVP], Aug 25, 2004
    #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. Anonieko
    Replies:
    2
    Views:
    7,291
    JackStraw73
    Feb 12, 2008
  2. Robbe Morris [C# MVP]

    asp.net extracting excel charts from an Excel file

    Robbe Morris [C# MVP], Dec 15, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    463
    Robbe Morris [C# MVP]
    Dec 15, 2006
  3. =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=

    Problem with Excel reports ::::Excel 2003 Migration To Excel 2007

    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=, Oct 5, 2007, in forum: ASP .Net
    Replies:
    15
    Views:
    1,481
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
  4. Grey
    Replies:
    4
    Views:
    1,936
    Mark Rae [MVP]
    Oct 17, 2007
  5. fniles
    Replies:
    6
    Views:
    630
    Karl E. Peterson
    Apr 27, 2009
Loading...

Share This Page