473,406 Members | 2,371 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,406 software developers and data experts.

a question about save the word document to database

Hi,
I have a question below.
In the Sql server 2000 I store some word documents.Then I get the data
from the database
through the asp code and display the word document in IE.The ContentType is
"application/msword".
My question is how to save the word document which is edited to the
database.

Thanks for your advice!
Jack
Jul 19 '05 #1
3 8988
The user would have to save the file locally and then you would need to
provide a page where he can upload the new file. See here for uploading
options. http://www.aspfaq.com/2189

Ray at home

"lee_j" <le***@163.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a question below.
In the Sql server 2000 I store some word documents.Then I get the data
from the database
through the asp code and display the word document in IE.The ContentType is "application/msword".
My question is how to save the word document which is edited to the
database.

Thanks for your advice!
Jack

Jul 19 '05 #2
> My question is how to save the word document which is edited to the
database.


I don't think you can instantiate "Word.Application" on the server, and also
have it displayed to the user for remote editing.

So, as Ray said, the user would have to save their changes to the file
locally, and upload it.

However, storing Word documents inside a SQL Server database suffers many of
the problems we have storing images there. Why do you need to store the
documents in the database? See http://www.aspfaq.com/2149 for pros and
cons.
Jul 19 '05 #3

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> дÈëÓʼþ
news:%2***************@TK2MSFTNGP10.phx.gbl...
My question is how to save the word document which is edited to the
database.
I don't think you can instantiate "Word.Application" on the server, and

also have it displayed to the user for remote editing.

So, as Ray said, the user would have to save their changes to the file
locally, and upload it.

However, storing Word documents inside a SQL Server database suffers many of the problems we have storing images there. Why do you need to store the
documents in the database? See http://www.aspfaq.com/2149 for pros and
cons.


I store word documents into database because I think those documents would
manage well.
User can expediently find documents.This is my point.
Jul 19 '05 #4

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

Similar topics

0
by: Steve Holland | last post by:
Hi, We have a web app which reads in a Word 2000 template (.dot), replaces some fields, then saves it off to the filesystem. This all works fine. What we would now like to do is to save the...
4
by: bborden | last post by:
When I save a document in Word that I have transferred from VBA to Word I notice that the "Save As" file name is for, instance, "December 4.doc". Since the date is the first field I print on the...
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...
4
by: Annemarie | last post by:
Hi, I am hoping someone can help me. I have build a database in Access but have only one thing that I can't do. Its a database for work which contains both personal and work-related info. I...
5
by: kanthi84 | last post by:
Hi Friends I am doing a project using requesthandlers and ejb. In that, the user is given a provision to enter his comments and suggestions in the text area provided in the html page. After...
1
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm using the bellow code to mail merge a word document and it's working fine, where I'm openning "improvement.doc" which is just word document that contain with some text and the merge...
2
by: cgd | last post by:
how to do Save Word document to Database in memory, not through the disk
0
by: ppardi | last post by:
I'm developing an addin for Word 2007 and I need to determine whether a user saves a Word 2007 document in an older format (97-2003) after a save as is done. The scenario is that the user starts...
1
by: =?Utf-8?B?S2ltIFM=?= | last post by:
I have a word document I only want to printout ( not save as file ) and I use Word printout method in backgrund but my XP operativ i so slow that a "dummy" dociment also get stored. which...
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.