473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 11262

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: josepe | last post by:
Hi, I want to do a dinamicly generation of a word doc in my ASP page. I do it with the next code: <% Response.ContentType = "application/msword" Response.AddHeader "content-disposition",...
4
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
3
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
2
by: KnotKnormal | last post by:
I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would...
2
by: Mike Fellows | last post by:
i have an asp.net application that works great but i now need to create a word document and open it on the client side, so that users can complete the missing data ive looked into this and...
0
by: Luis Esteban Valencia Muñoz | last post by:
I am trying to access a word document, preferably on the client side in my intranet. The document is stored on the sever which is also a mapped network drive. I have been able to access and save...
4
by: Kash | last post by:
Hi everybody: I've developed a web application running on a 2003 server not on the web but on extranet environment of a small Firm (less than 10 users). I've taken benefit of Office Primary...
7
by: mkorch17 | last post by:
Hello, I have a server with a Word document and an Access database on it. I also have an ASP page running on the server. The Word document contains a mail merge with the Access database. What...
4
by: Mike Logan | last post by:
I would like to dynamically create a Visio diagram from .Net. I tried looking at the Visio SDK, but the samples are extremely convoluted for me to understand. Does someone have an example of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.