Edit Word Documents On-line & Save To DB

I need to develop a web application using asp, which ideally should do the following

1. Generate a word document combining templates with dynamic data from a sql server. (I was thinking about generating xml docs)

2. Let the user see and modify the generated document on-line, from he browser

3. Save the (possibly) modified document to a table in SQL server.

I already know how to download/upload files, and save them into a DB.

The problem is I would like to automatize the whole thing, and not forcing the user to download the file, open, edit, save and finally upload.

Any idea would be appreciated.

PS: Even more ideal would be to come up with a general solution, in order to be able to open any kind of doc with the right app, and then automatically post it to my app. Or maybe someway to allow to edit it right from the server.

View Replies


ADVERTISEMENT

Asp And Word Documents

I have created a word template containing logos. I want to be able to open the document and dynamically add data to it and save the file as something else. the problem is when I use the streamobject method it does not work! I can only add data if the file is a notepad (unicode file). Is there any way to do this? I can't find any ttutorials on the web.

Also I know how to write word documents using html and I cant use this method because when I open the document the image will not display. Is there a way to keep the image contained within the document?

If I can get either of the methods above to work that it would have solved my problem!

Or if anyone knows of other ways to creating a word document using logo's and dyanmic data then please let us know.

View Replies View Related

Word Documents

I have a HTML page with field data on, I would like to know if in ASP i am to pick up that field data and send it to a Word document, the application this data comes from is hosted in an IIS box and uses an ISAPI filter to parse the data from SQL tables to that GUI for the user. This function is need for an individual page at a time, & unfortunately I'm still quite new to ASP so I'm not sure if this is possible.

View Replies View Related

Generating A Set Of Word Documents Using ASP

May I know how I can create a set of word documents using ASP? Is there any sample code available on the web for such document generation system?

View Replies View Related

Generating Word Documents

Here's a quick query for any ASP/MS Office gurus out there!
When attempting to use the following code:

Set WordApp = CreateObject("word.application")

I get the following error message:

ActiveX component can't create object: 'word.application'

Could this be because MS Office is not installed on my server? Or is there another reason for this error message?

View Replies View Related

Formatting Word Documents

I'm using ASP to create a word document using response.contenttype=("application/msword"), which works fine, but I want to do some formatting to the page setup (such as change the margin sizes) before delivering it to the client.

View Replies View Related

Creating Word Documents

I have tried three ways of opening word documents on my win95 machines.

(Yes, my client still has some win95 machine)

#1-With Response.AddHeader "Content-Disposition", "attachment;
filename=yourfilenamehere.doc"

#2-With Response.AddHeader "Content-Disposition", "inline;
filename=yourfilenamehere.doc"

#3 without the content-Disposition header.

#1 is not good because it forces the user through two dialogs. #2,#3 seem good because they open the document in IE, but the window does not have the corresponding document toolbar, so the user can not saveAs xxx.doc

How can I accomplish # 2 or #3 with IE showing a word document toolbar?

View Replies View Related

Displaying Word Documents

displaying word documents onto a webpage? The word documents will contain text/tables/pictures. I am new to this and can't quite find what I need.

View Replies View Related

Compare 2 Word Documents

How To Create An Object For Word Application To Compare 2 Word Documents In An Asp Page.

View Replies View Related

Securing Word Documents

I intend to send word documents thru mail to my clients. I don't want my clients to save the word document to there system and i don't want them to print the word documents. How can i achieve both the tasks ?

View Replies View Related

Recordset Query / Edit / Save

The problem (and I've tried to modify the code unsuccessfully) is that
I don't want to "Add a New Record" and I most definitely do not want to
"Delete"....I only need to edit....

I need to have a Search page for Customer Service Reps to search for a
customer by last name, and then edit the customer's record with an
updated status on fixing the customer's problem... Code:

View Replies View Related

Convert Microsoft Word Documents

how to (if there is a way) convert Microsoft Word documents to either normal text or PDF (Acrobat) files. I need this to be automatic on the internet. (i.e. people submit word docs and I need to convert if possible).

View Replies View Related

Edit And Save A Text File On The Server

how to creat a page that will allow the user to edit and save a text file on the server.

View Replies View Related

Edit Word File

Now I wanted to do some office automation in my web page. Let say I have the microsoft word named report.doc. In this report.doc , I wanted to put the number in header or footer from the parameter in my asp file. How do I do that?

View Replies View Related

Save To MS Word

I need to save a lot of pages to a .doc MS Word file with one button click on my asp app.... can this be done ?.....I am thinking this .doc file will be saved on the server, so I can then download it to the users PC.

I can have the MS Word templates to fill out on the server , so do i create an asp page to fill out these templates and then save the file..then somehow download it automatically, hence it will end up on the users PC in a shared Dir...is this all possible?

View Replies View Related

Save The Word Document

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". how to save the word document which is edited to the database.

View Replies View Related

Save A Word File From ASP

I wrote a code that allow to open a Word document, and save it. Before it worked perfectly... but after changing the Server, it doesn't work anymore! Code:

View Replies View Related

Save Word Document Over Http:// Path

I've an ASP.Net c# application that needs to read Word documents from a directory on the web server, open them in Word from the client browser, edit the content and then update the document on the server.

I can almost do it by pasting the url into the "Save As" location but I get a "read only" message when I try to save.I'm happy to code httpRequest objects or Word automation,if necessary, but I need to resulting procedure to be intuitive for the user.

View Replies View Related

Disabling Open/save Dialog In Word

In my application I am using Word to hold data out of a MS SQL Server 2000 database. On the clients PC's I am getting a open/save pop up dialog for opening MS- Word. How can I disable this pop- up and load Word without having this dialog? The clients pc are Windows XP/SP2 machines.

View Replies View Related

How To Save Data From A Word Document File Into SQL Database!!!

I have gotta a page in which a user can upload his profile (saved in word format). Is there any way that this profile can be stored into the database and not in the web directory. I tried using Scripting.Dictionary.

View Replies View Related

Read Cell Data Line By Line From Excel

I had created a macro to read data from an excel sheet and write the values to a text file. I had used "ActiveSheet.Range("GB" & k).Value" command to read the values from the excel.some cells in the excel sheet is having two lines value and four lines data, the text file is generating that value in a single line. (Ex. the cell value in address column is in four lines and should display in four lines in the text file generated from the macro)

Can i do something in the excel sheet or in vb script to read the address value line by line and write line by line in text file?

View Replies View Related

Read Txt File Line By Line

I have an encrypted .txt file created by asp. Its formatted with lines etc. Title followed by description underneath. I need to read this into ASP now, and parse it line by line. On each line read, run the function to unencrpt and add line to a new file.

Its the line by line Im having trouble with. If i do the full textstream no formatting takes place coz im adding the fulltextstream all in one addline call. How can I loop through lines ?

View Replies View Related

Upload Documents

I have a documentation management system written with ASP.This is a simple system.I want to upload necessary documents and create folders when necessary delete folders etc.When uploading documents I should select both the uploaded file & also the target location.Because I have many many folders and subfolders.

View Replies View Related

Delete Documents

If there a way using ASP to delete files from a folder on the server if the file doesnt exist in the database.

I have heard of something called FSO (File System Object) but not sure how to use it - does anyone know of an ASP method or how to mate ASP and FSO?

View Replies View Related

Secure Documents

I have a client who needs to be able to upload confidential documents (.doc and PDF) to a "hidden" area within their website so other members of their organization can later view them at their convenience. This area would be restricted by logins and passwords, but it also needs to be secure enough that no outsiders could gain access to these documents if they tried.

I've read on here about placing files in a directory outside of the root directory and then reading them back with a script but I'm wondering if there are other options that would be even more secure than this. Maybe with using some sort of file encryption or something else used in conjunction with files outside the root. I would be open to any 3rd party commercial software if someone has had good experience with it. Does anyone have suggestions to offer?

View Replies View Related

Upload Documents With Aspupload

I am using what seems to be a straight forward script but am getting an error, is the term Funtion not accepted in aspupload?:

the error is:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/legacyUploadscript.asp, line 15

Function isValidFile(filename)

The script I have created is this: ...

View Replies View Related

Searching Text Documents

I'm making a new database that is to store details about word/pdf documents. I need to have a search function that can search through the content of the file. Is this possible? [I'm using Access].

View Replies View Related

Streaming Documents To The Client

I am working in an intranet/extranet application in which the user should be able to see some documents (specially doc and pdf). These documents will be stored in a safe place in the server preventing anybody from downloading them directly from the URL.

In order to achieve this, I have made an activeX component which takes the original file and stream it to the client. I have basically two questions/problems.

First, is there a way to manipulate the document generated dinamically in order to change the way it is displayed in the browser(zoom factor,etc)? By default it depends on the client configuration. Maybe I could use an application.word object in the ASP but the problem is that I don't have the document in a file, I only have a stream sent from the server.

Another question is, how can I avoid the download dialog(open/download file prompt) on the client? I always want the document to be displayed on the browser. I know this is for security reasons, but can this be configured in some way through the IIS options for the web site? Code:

View Replies View Related

Adding Images To RTF Documents

I have been struggling with this for a couple days now and wanted to see if anyone can point me in the right direction... I am generating an RTF document using ASP and the FileSystemObject from values selected in a form and database values. I have had no problem creating the document and even using some pretty advanced RTF formatting but I cannot figure out how to add an image to the document.

I have read in many places that it is possible and I know there are third-party components that claim to do it but I wanted to see if anyone had any sample code to do this using ASP and the FileSystemObject. I have an image stored on the server and I want to include it within the RTF document.

View Replies View Related

Cannot Upload Documents Or Pics.

I run my applications perfectly, can make changes to my database, but I cannot upload Documents or Pictures Etc.Etc.I was able to with my Windows ME OS. I now run Windows 2000.

View Replies View Related

Security On Uploaded Documents

I maintain a website, written primarily with ASP, which allows users to fill out a form and upload documents to the web server. Once on the server other users can download the documents. Currently anybody within the Intranet can upload and download any documents. I would like to do something that would allow the user to specify who can view a document. I was thinking of using the users domain/handle as the security key.

View Replies View Related

Saving Edited Documents

I am creating an web application with IIS 5.0 where the user will be given a facility to view a PDF or word document. The user can edit these docuements. But once the document is edited, I want to save the changes on server side. Is it possible to implement such a feature?

By the default behaviour of IE, if abc.doc is opened and edited, if we try to save the file by entering the path as URL we are not able to save the file on the server. This is because server creates a readonly copy of the file. Please let me know whether such a feature is feasible? Or whether I have to develop my own component using which this might be possible?

View Replies View Related

Displaying Documents In ASP Webpage

I have developed ASP Website and have a Login page for 3 different user groups. Each group is directed to their own specific webpage within the site.

Can someone please tell me how to display word documents in these ASP webpages.
This must be a simple process, as these documents are just for viewing purposes, ie: not editable while been viewed by user group.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved