469,282 Members | 1,743 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

How to generate Word Document using ASP on server side?

Project Description:
Develop a web application to help manage sale operations. There is a
function that to generate a report using data in database, which is a
Word document on server and let user to download and print it out.

Problem:
Found that it's risky to do Word automation on server side using ASP.
The layout of report is a bit complicated. I've a idea of ASP call VB
to automate a Word document, but don't know whether it's work or not.
Or is there any other better alternative to solve this problem?

Many thanks and appreciated with your kindly help!

Oct 10 '05 #1
3 11008

"Brian Kwan" <ho*********@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Project Description:
Develop a web application to help manage sale operations. There is a
function that to generate a report using data in database, which is a
Word document on server and let user to download and print it out.

Problem:
Found that it's risky to do Word automation on server side using ASP.
The layout of report is a bit complicated. I've a idea of ASP call VB
to automate a Word document, but don't know whether it's work or not.
Or is there any other better alternative to solve this problem?

Many thanks and appreciated with your kindly help!


There are commercial solutions that have implemented the Microsoft specific,
non public compound word document format.
If you want to stick to word only, you can use the 2002 word XML format.
This however, I predict, won't be easy but doable.
--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

Oct 10 '05 #2
"Brian Kwan" <ho*********@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Project Description:
Develop a web application to help manage sale operations. There is a
function that to generate a report using data in database, which is a
Word document on server and let user to download and print it out.

Problem:
Found that it's risky to do Word automation on server side using ASP.
The layout of report is a bit complicated. I've a idea of ASP call VB
to automate a Word document, but don't know whether it's work or not.
Or is there any other better alternative to solve this problem?

Many thanks and appreciated with your kindly help!


One of my favorite subjects! This should give you all you need to know ...
http://support.microsoft.com/default...;EN-US;q257757

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
Oct 10 '05 #3
Article: Dynamically Writing Office Documents
http://www.infinetsoftware.com/conte...edocuments.asp
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition",
"attachment;filename=receipt.doc"

How to use ASP to generate a Rich Text Format (RTF) document to stream
to Microsoft Word
http://support.microsoft.com/kb/q270906/
Uses FSO.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

<<
Project Description:
Develop a web application to help manage sale operations. There is a
function that to generate a report using data in database, which is a
Word document on server and let user to download and print it out.

Problem:
Found that it's risky to do Word automation on server side using ASP.
The layout of report is a bit complicated. I've a idea of ASP call VB
to automate a Word document, but don't know whether it's work or not.
Or is there any other better alternative to solve this problem?

Many thanks and appreciated with your kindly help!


*** Sent via Developersdex http://www.developersdex.com ***
Oct 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by josepe | last post: by
4 posts views Thread by Yohancef Chin | last post: by
3 posts views Thread by Yohancef Chin | last post: by
2 posts views Thread by KnotKnormal | last post: by
2 posts views Thread by Mike Fellows | last post: by
reply views Thread by Luis Esteban Valencia Muñoz | last post: by
4 posts views Thread by Kash | last post: by
4 posts views Thread by Mike Logan | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.