Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Creating report documents using ASP.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Colin M. - 12 Dec 2004 18:37 GMT
Hello, I had a quick question about creating Word documents using ASP. I hope
I can explain it properly.

I have a client who would like a report created, using ASP classic, in Word
2002. My question is can I create this document with a header/footer
contained within the same file. (not using filelist.xml and header.htm)

And if the 2 files listed above need to be included, can I avoid the
following message from appearing in Word everytime they generate and open the
report document?   "Some of the pages in this web page are not in the
expected location are not in the expected location......."

Thank you in advance.

Colin
Jonathan West - 13 Dec 2004 12:02 GMT
Hi Colin,

The simplest way to handle this would be to have the necessary Word
templates containing the header & footer predefined.

Then you use automation to open Word and create a new document using the
Documents.Add method, specifying your predefined template.

Then, also using automation, you can add whether text you want to the body
of the document before saving it.

Beware however that Word is not designed for unattended server-side
operation, and is not licensed for this mode of operation. You should take a
look at this article for more information
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757 before
making commitments to your client about this

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

> Hello, I had a quick question about creating Word documents using ASP. I
> hope
[quoted text clipped - 14 lines]
>
> Colin

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.