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

WORD Docs and ASP.NET

The question is very general, I know.
I am reading a lot of info on the subject but can't really make up my
mind on the way to attack this.

I have portions of formatted text into the database (kind of
sentences, with the space for the address blank for example). The user
will choose the correct address from another table in the database. At
this point I would like to generate a Word document with the formatted
text including the right chosen address.
Ideally, the user will type additional text in the document (which I
would display in the browser with MS Word). At this point I would like
the complete document to be saved into the database or printed as a
pdf and the pdf saved into the DB.
Another question is how to save the document into the database when I
have it embedded in the web form.

Thanks!
Nov 18 '05 #1
5 1373
For such advanced functionality I suggest you look into this product:
http://officewriter.softartisans.com...ewriter-8.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"cgia" <cg*****@katamail.com> wrote in message
news:b3**************************@posting.google.c om...
The question is very general, I know.
I am reading a lot of info on the subject but can't really make up my
mind on the way to attack this.

I have portions of formatted text into the database (kind of
sentences, with the space for the address blank for example). The user
will choose the correct address from another table in the database. At
this point I would like to generate a Word document with the formatted
text including the right chosen address.
Ideally, the user will type additional text in the document (which I
would display in the browser with MS Word). At this point I would like
the complete document to be saved into the database or printed as a
pdf and the pdf saved into the DB.
Another question is how to save the document into the database when I
have it embedded in the web form.

Thanks!

Nov 18 '05 #2
Using any Office product on the server side of a web application is
dangerous at best, and becomes more so with an increasing number of users.
Is there some reason that this text must be formatted and stored as a binary
file type? There are also performance issues with storing binary files in
any database. Perhaps you could just store and retrieve the text?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"cgia" <cg*****@katamail.com> wrote in message
news:b3**************************@posting.google.c om...
The question is very general, I know.
I am reading a lot of info on the subject but can't really make up my
mind on the way to attack this.

I have portions of formatted text into the database (kind of
sentences, with the space for the address blank for example). The user
will choose the correct address from another table in the database. At
this point I would like to generate a Word document with the formatted
text including the right chosen address.
Ideally, the user will type additional text in the document (which I
would display in the browser with MS Word). At this point I would like
the complete document to be saved into the database or printed as a
pdf and the pdf saved into the DB.
Another question is how to save the document into the database when I
have it embedded in the web form.

Thanks!

Nov 18 '05 #3
Frantically :) reading on the subject, I see that the only way to make
word executable at the same time by several people is to execute it on
the client. In order to do it I guess I have to use client side
Javascript which opens word. But how abot the security settings in
these case? And how about the other steps of the process?
Nov 18 '05 #4
> What is the process to use an Office product on the client side of a
web application, conversely?
The client machine has the application installed, and downloads a document
that the application can read.
Is there some reason that this text must be formatted and stored as a binary file type? There are also performance issues with storing binary files in any database. Perhaps you could just store and retrieve the text?


That would be perfect, but how to produce the contract document at
user's request?


That all depends on your requirements, which are ...? In other words, what
does the client require? Do they require that they can download a
dynamically-created document immediately, get one emailed to them, wait a
period of time, etc? Is it a requirement that this be a Word document? For
example, an RTF document is not a proprietary format.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"cgia" <cg*****@katamail.com> wrote in message
news:b3**************************@posting.google.c om...
Using any Office product on the server side of a web application is
dangerous at best, and becomes more so with an increasing number of users.
What is the process to use an Office product on the client side of a
web application, conversely?
Is there some reason that this text must be formatted and stored as a

binary file type? There are also performance issues with storing binary files in any database. Perhaps you could just store and retrieve the text?


That would be perfect, but how to produce the contract document at
user's request?

Nov 18 '05 #5
Thanks for your reply.

Actually my requirements are that user are able to produce a contract,
and that the final copy is stored in the database.

In order for them to perform spell checks and formatting I have to let
them download the document locally (RTF generated in the server using
DB info) and edit it.
But once thay've done that, how can I save the final version of the
document back into the DB, in a kind of transparent way. Of course
they could:

1) save the document in a local folder
2) click an import button in the asp.net form
3) remove the local copy of the document

Any ideas to make it a bit smoother?
Nov 18 '05 #6

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

Similar topics

2
by: sudha | last post by:
Hi I need to write a c# program which has to merge selected word documents into one word document. Kindly advise the efficient way to achieve this. Thanks in advance sudha
41
by: Ruby Tuesday | last post by:
Hi, I was wondering if expert can give me some lite to convert my word table into access database. Note: within each cell of my word table(s), some has multi-line data in it. In addition, there...
10
by: Neil | last post by:
An article at http://news.com.com/2100-1012-991694.html?tag=fd_top states: "XML would allow easier interchange of data generated in Office documents with back-end systems or existing Web...
2
by: maheshwari | last post by:
Hi Can you please help with some info on how to open existing word documents / merge two word documents from a C# program ? My user will select 2 or many word docs and i have to create a c# exe...
1
by: ajk | last post by:
. Hi, All: I know how to insert files into a Word doc using C#. However, the program I've written to do this runs much too slowly. The "myObj".Application.Selection.InsertFile method executes...
0
by: kris | last post by:
hi can any one help me out, i have written a code for Word Indexing using Dll's i think this is an incomplete code for WORD INDEX. I had encountered this error "Error! No index entries found"...
3
by: gabe | last post by:
I have a directory of word docs (maybe 2 or 3 hundred), all of the docs are based on a custom template and they have 20 or so fields, I would like to read all of the fields into a db. Any help...
6
by: Eric Layman | last post by:
Hi, I have fields from textareas. With a click of a button, php is able to grab these fields and by using header(), convert the output to Ms Word doc. But the outcome of the word doc...
1
by: webgirl | last post by:
Hi everyone, I have a weird problem with some Word/Excel automation code that I run from Access (not sure if I should therefore post this in the Access forum..? Thought I'd try here first) ...
2
by: KYG | last post by:
Hi , I'm trying to design and build a web app (my first C++ app) using the WT C++ web toolkit. Been looking for a way to read an MS Word doc into a 'stream?' and manipulate (search, copy/ delete...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.