473,779 Members | 2,062 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1386
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*****@katama il.com> wrote in message
news:b3******** *************** ***@posting.goo gle.com...
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*****@katama il.com> wrote in message
news:b3******** *************** ***@posting.goo gle.com...
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*****@katama il.com> wrote in message
news:b3******** *************** ***@posting.goo gle.com...
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
359
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
6139
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 is one row containing picture(s) as well. So far, what I did is doing it manually for each word docs I have. Select Table Convert Table to Text(I use ^ character for delimiter)
10
3061
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 services." As part of an Access 2000 application, I have to continually parse Word documents and store the parsings in Access tables using Automation to control Word and parse the document. Is there a way that XML would help with that? Thanks.
2
1759
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 which add all word docs to one word document. Thanks in Advance Maheshwari
1
615
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 at a snails pace. Here are the detais: I wrote a C# program that creates a new Word doc and then loops through a
0
3096
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" when i opened word document can any one fill out the missing code with this.
3
1107
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 would be appreciated. gabe
6
4644
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 doesn't wrap the text in textarea. the result is one very veyr long string of text which stretch MS word all
1
2938
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) Basically, the code either opens a document (if it exists) or creates it from a template if it doesn't. Docs can be Word or Excel docs. The weird part is that the code was working earlier tonight. But now it's not, not properly, anyway. Now, what...
2
2633
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 paragraphs, format etc) its contents from my c++ program. lastly, is there a free c++ library or a way to convert MS Word docs to PDF using C++
0
9636
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...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
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,...
0
9930
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6724
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();...
1
4037
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
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
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.