Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Oppening a Word file


Message #1 by "Koen Wagemans" <koenwagemans@h...> on Thu, 29 Nov 2001 16:00:41
Can I open an existing Word file with 

Response.ContentType("application/msword")



I have to write to an existing word file without changing the look of this 

file



I 've allready tried with OpenTextFile but this always changes the margins 

of the word file, or it doesn't write to it!

And I have to write database fields to it so that doesn't work eihter



Thanks



Koen
Message #2 by Kyle Burns <kburns@c...> on Thu, 29 Nov 2001 13:01:27 -0500
Are you using Response.BinaryWrite to write out the data to the client?

Also, ContentType is a Property and should be set with the syntax:

Response.ContentType = "application/msword"



=================================

Kyle M. Burns, MCSD, MCT

ECommerce Technology Manager

Centra Credit Union

kburns@c...



 



-----Original Message-----

From: Koen Wagemans [mailto:koenwagemans@h...]

Sent: Thursday, November 29, 2001 11:01 AM

To: ASP components

Subject: [asp_components] Oppening a Word file





Can I open an existing Word file with 

Response.ContentType("application/msword")



I have to write to an existing word file without changing the look of this 

file



I 've allready tried with OpenTextFile but this always changes the margins 

of the word file, or it doesn't write to it!

And I have to write database fields to it so that doesn't work eihter



Thanks



Koen

 




$subst('Email.Unsub')



Read the future with ebooks at B&N

http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid

=rn_ebooks


  Return to Index