Home All Groups Group Topic Archive Search About

Transfer .asp page to MS word include images within <IMG> tag



Author
8 Mar 2005 9:03 PM
btfbg
I am using
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition",
"attachment;filename=Letter.doc"
to download my asp page to the client.  The download process works
great but when I open the .doc file it is missing the image included
within the html <img> tag of the .asp page.
How do I get the image to come down with the text?
If someone could help me out it would be greatly appreciated.
here is the image tag <IMG src="LargeLogo.jpeg" align=left>

Author
8 Mar 2005 9:48 PM
Adrienne
Gazing into my crystal ball I observed "btfbg"
<jim_ai***@notes.grainger.com> writing in news:1110315787.787770.86350
@z14g2000cwz.googlegroups.com:

> I am using
> Response.ContentType = "application/msword"
> Response.AddHeader "Content-Disposition",
> "attachment;filename=Letter.doc"
> to download my asp page to the client.  The download process works
> great but when I open the .doc file it is missing the image included
> within the html <img> tag of the .asp page.
> How do I get the image to come down with the text?
> If someone could help me out it would be greatly appreciated.
> here is the image tag <IMG src="LargeLogo.jpeg" align=left>
>
>

Is the image embedded in the Word doc, or is the image only in the ASP
page?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Author
9 Mar 2005 12:54 PM
btfbg
The image is within the ASP page.  The word document is not created
until the
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition",
"attachment;filename=Letter.do­c"
is called.

AddThis Social Bookmark Button