473,651 Members | 2,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
0 550

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

Similar topics

7
1963
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 create the report and have it saved / outputted as a PDF or word Doc ? Any links with examples ?? Thanks
7
7847
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 isn't working. #include <stdio.h> #include <pthread.h>
12
4160
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" Response.AddHeader("content-disposition", "inline; filename=BP_CaseStatus.doc") Now all I should have to do is create the page just like I would if I were going to display it in the browser.
6
5190
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 checking from a web-based wysiwyg editor and I am limited to using ms word from the client, server-side word automation is out of the question for several important reasons (http://support.microsoft.com/default.aspx?...
2
1445
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 cannot find any tutorials that explain how to open a word document client side (i managed to get it to open server side but that is not what i want) any help would be greatly appreciated
1
1159
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 specified printer (on intranet) and may not be stored. I thought about going on to crystal report but it seems sort of complicated as I start from scratch I also thought about generate de file on a server directory,
10
354
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 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.
4
2499
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 Interop Assemblies (PIAs) for automating Word on the server and everything runs smoothly on the server console. The word documents are generated perfectly from all clients and stored on the server with some data comes from a SQL server and/or stores...
6
2399
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 automation. N.B. the environment is a totally enclosed intranet, all the client machines have WinXP, IE6 and Office Pro 2003 with all the latest SPs, and the IE security settings are sufficient to allow the Local Intranet Zone to instantiate...
1
900
by: casicadk | last post by:
On Sep 28, 4:52 am, "Hillbilly" <someb...@somewhere.comwrote: Two words: NO WAY! ;)
0
8352
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8465
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6158
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.