473,394 Members | 1,845 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,394 software developers and data experts.

Creating a Word doc on the Client Side From a WebApplication

I am actually trying to do this and found in this thread some very good
information (begin quote):
{
In ASP.NET you should store and manipulate the word document on the
server.
You can manipulate it either through the Word object model (which is
not
really supported or encouraged, but does work), or you can save the
document
as XML and manipulate the XML.

Then stream the document down with an appropriate content-type and
content-disposition and the browser will open it in Word.
}
The thread is dated back to 2k3.
I'm new to the vb development world. And I have a few questions:
1. If I edit the XML template on the server to send back to the
client, does the actual content of the XML template on the server
change? or is it just edited in memory and flushed when the session is
over?
2. The data that would be going into the template would be coming from
the web page that they are currently looking at (generated by data from
a dB). How would one get that data into the XML document?
3. How does one then 'stream' that data to the client so that it is a
..doc document that the client will then automatically open?

If anyone has links that will answer these questions, I'd appreciate
it.

Ps. The clients w/ have Office 2k3.

thx.

Nov 21 '05 #1
2 2053
Hi,

http://msdn.microsoft.com/library/de...VBNETtoRTF.asp

Ken
------------------
<no**************@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I am actually trying to do this and found in this thread some very good
information (begin quote):
{
In ASP.NET you should store and manipulate the word document on the
server.
You can manipulate it either through the Word object model (which is
not
really supported or encouraged, but does work), or you can save the
document
as XML and manipulate the XML.

Then stream the document down with an appropriate content-type and
content-disposition and the browser will open it in Word.
}
The thread is dated back to 2k3.
I'm new to the vb development world. And I have a few questions:
1. If I edit the XML template on the server to send back to the
client, does the actual content of the XML template on the server
change? or is it just edited in memory and flushed when the session is
over?
2. The data that would be going into the template would be coming from
the web page that they are currently looking at (generated by data from
a dB). How would one get that data into the XML document?
3. How does one then 'stream' that data to the client so that it is a
..doc document that the client will then automatically open?

If anyone has links that will answer these questions, I'd appreciate
it.

Ps. The clients w/ have Office 2k3.

thx.
Nov 21 '05 #2
Hi,

http://msdn.microsoft.com/library/de...VBNETtoRTF.asp

Ken
------------------
<no**************@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I am actually trying to do this and found in this thread some very good
information (begin quote):
{
In ASP.NET you should store and manipulate the word document on the
server.
You can manipulate it either through the Word object model (which is
not
really supported or encouraged, but does work), or you can save the
document
as XML and manipulate the XML.

Then stream the document down with an appropriate content-type and
content-disposition and the browser will open it in Word.
}
The thread is dated back to 2k3.
I'm new to the vb development world. And I have a few questions:
1. If I edit the XML template on the server to send back to the
client, does the actual content of the XML template on the server
change? or is it just edited in memory and flushed when the session is
over?
2. The data that would be going into the template would be coming from
the web page that they are currently looking at (generated by data from
a dB). How would one get that data into the XML document?
3. How does one then 'stream' that data to the client so that it is a
..doc document that the client will then automatically open?

If anyone has links that will answer these questions, I'd appreciate
it.

Ps. The clients w/ have Office 2k3.

thx.
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: TomT | last post by:
I have created an ASP App that seems to be working well. I can get the data out of the Access DB and displayed in screen fine. But instead of sending it to the screen, is there any way I can...
7
by: mike | last post by:
Hi, I am having difficulty in creating a thread using pthread_create. It seems that pthread_create does not execute 'program', and returns -1; I have checked the API but I am not sure why this...
12
by: enak | last post by:
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word"...
6
by: Yuri Vanzine | last post by:
In asp we can run VBSCRIPT client-side which allows for 'easy' :?) ms office COM object instantiation. How do I access a Word object in ASP.NET on the client side? I would like to do spell...
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...
1
by: Franck | last post by:
Hello, I need to implement the following features: I need to create a document on whatever format word, pdf … A simple one; few field taken from a DB. This document should be printed on a client...
10
by: nondisclosure007 | last post by:
I am actually trying to do this and found in this thread some very good information (begin quote): { In ASP.NET you should store and manipulate the word document on the server. You can...
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...
6
by: Mark Rae | last post by:
Hi, My client has asked me to provide a "quick and dirty" way to export the contents of a DataGrid to both Excel for analysis and Word for editing and printing, so I'm investigating client-side...
1
by: casicadk | last post by:
On Sep 28, 4:52 am, "Hillbilly" <someb...@somewhere.comwrote: Two words: NO WAY! ;)
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.