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

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

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?SmltIEhlYXZleQ==?=

    Excel _WorkBook vs. Excel.Workbook

    =?Utf-8?B?SmltIEhlYXZleQ==?=, Sep 29, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,960
    Steve C. Orr [MVP, MCSD]
    Sep 29, 2004
  2. Luis Esteban Valencia
    Replies:
    1
    Views:
    1,605
    Carl Prothman [MVP]
    Jan 12, 2005
  3. =?Utf-8?B?U3JpZGhhcg==?=

    using Microsoft Excel image for Export to Excel button

    =?Utf-8?B?U3JpZGhhcg==?=, Dec 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    3,417
    =?Utf-8?B?U3JpZGhhcg==?=
    Dec 9, 2005
  4. Anonieko
    Replies:
    2
    Views:
    7,633
    JackStraw73
    Feb 12, 2008
  5. 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:
    625
    Robbe Morris [C# MVP]
    Dec 15, 2006
  6. =?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:
    2,006
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
  7. Grey
    Replies:
    4
    Views:
    2,552
    Mark Rae [MVP]
    Oct 17, 2007
  8. fniles
    Replies:
    6
    Views:
    889
    Karl E. Peterson
    Apr 27, 2009
Loading...