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


ADVERTISEMENT

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

Displaying A PDF From A Webpage

I have a requirement to fire up a PDF brochure for visitors. This is currently done by simply linking the pdf document direct using a javascript popup and hence acrobat is invoked when the link is clicked.

I now have a requirement to trap and record in my database the fact that the brochure was viewed and I can't get my head around how I can do both without getting the user to click 2 links (one to fire up the page with the ASP database call in it and a PDF link on it, and the other to click the PDF).

I have a feeling I could do something clever with host headers, but before I go too far down that deep and murky path I wonder if there is some simpler way I'm overlooking.

Current Code :

View Replies View Related

Retriving Images From D/B And Displaying On Webpage

How do i retrieve images[.gif/.jpg] from database and displaying it on a webpage?

View Replies View Related

Redirecting To A Webpage Within A Form With Action Tag Set To A Different Webpage

I am using a form. This has the action tag set to another page. But within this form I am using a button, which when clicked should take me to a different page.

View Replies View Related

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

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

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

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

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

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

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

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

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

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

Send Documents To Printer

I have a series of hyperlinks on my page which open up documents. Mainly pdfs. Can anyone tell me if it is possible to send these straight to the users printer or is this just asking too much ?

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

Rendering HTML Documents As Images

I'd like to take a HTML document as input (preferably a HTTP URL to a HTML / PHP document), render the page as a web browser would, and display the output as a graphic - kinda similar to what the <object> tag can do in HTML (i.e. within the Windows Explorer Web View, you could "Preview" HTML documents like a graphic etc.)

It doesnt matter too much whether the rendering needs to be done in VB.net or ASP.net - although I'd prefer ASP.net!! To be honest, the only method I can think of for doing this is to open the page in an IE window using vb.net, take a sceenshot and resize! But as the request could be run as and when,

I think that it'd add a large workload to the server if it has to launch a (reasonably large) .exe every time!! Plus that method would also rely on no other windows appearing on top of the preview window before the screenshot is taken!!

View Replies View Related

Protect Documents And Images On Webserver

Is it a way I can protect my documents and images on a webserver without having direct access to administrate the webserver.

When I make an asp page I protect the information pulised on this page easy. But if I link to some images and pdf files on my site, these are not protected. If a person get the url to this image or file thei can easy download it.

One way to protect these files is to store them in a database, but is there another way to protect them.

Can I for example password protect a folder where I can put all my files and images? Here I mean password protect a folder without having direct access to the webserver.

View Replies View Related

Syntax To Dynamically Link To Documents

Can anyone help me with the syntax of dynamically linking to PDF documents? Essentially the user navigates a couple of pages to find the document they want, however I�m not sure how to turn the following dynamic text into a hyperlink that will open the document.

<%=(getdocuments.Fields.Item("filename").Value)%>

I have tried using an <a href= without much success

<a href="../docs/admindocs?docid=<%=(getdocuments.Fields.Item("filename").Value)%>">Click here to view</a>

View Replies View Related

List Documents In A Html Table

I currently have a set of documents in a directory that i need to list in a html table. Is there any way to generate the table with the documents listed instead of having to update the table manually everytime a new document is added to the list.

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 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 View Related

Searching Access Databases And Their Embedded Documents.

I've had a look and found a few items on searching a database but I need something a bit more complicated.

I want to store documents in a database, I also want to have a web page view and pdf download of the documents available (easy enough if I just embed the URL of the locations). The problem is I want to also be able to provide a search page that allows the user to search the documents and the database (for authors, date etc) using the same page.

So the question is what's the best way to start with the database and pdf docs and end up with a web view and search engine for it. The database is Access btw.

View Replies View Related

Password Protect Folder With Documents On Website

One of my clients asked me to do a login script for their users that would direct them to a secure page which is protected by checking if the user has logged in (session variable).

The secure page has a number of links to some PDF documents but she is concerned that anyone with the absolute link to the PDF would be able to access the documents.

How can we secure the documents from anyone using the absolute url?

The site is on a Windows 2003 server.

I was thinking something along the lines of how music downloads work where you dont actually get the link to the file and instead are directed to it.

Any other ideas??

View Replies View Related

Creating Architecture Documents From Existing Application

we want to create some documentation of the architecture in an existing
ASP application. Can anyone suggest some document types to use to make
it easy to understand the application?

This could be UML type documents or otherwise.

View Replies View Related







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