Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP to Excel

Reply
Thread Tools

ASP to Excel

 
 
A Fu
Guest
Posts: n/a
 
      08-25-2004
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
 
Reply With Quote
 
 
 
 
Tom Kaminski [MVP]
Guest
Posts: n/a
 
      08-25-2004
"A Fu" <A http://www.velocityreviews.com/forums/(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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/windowsserv...y/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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
From an ASP page, is there a way write to an EXCEL file without having EXCEL installed on the IIS machine ? fniles ASP General 6 04-27-2009 10:33 PM
How to return an excel file or excel data from ASP.NET Anonieko ASP .Net 2 02-12-2008 07:03 PM
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
Export to excel in asp.net using excel template Grey ASP .Net 4 10-17-2007 08:08 AM
asp.net extracting excel charts from an Excel file Robbe Morris [C# MVP] ASP .Net 0 12-15-2006 03:03 AM



Advertisments