Solved

View DOC and XLS in the browser Internet Explorer

Posted on 2010-08-30
8
746 Views
Last Modified: 2012-05-10
Good afternoon,

I've been through this, seek help to solve the following problem:

Development Environment: ASP / ASP.NET
Browser: Internet Explorer
Occurrence:

1 - View Word documents and Excel spreadsheet 2003 and 2007 (.doc / .docx and .xls / xlsx) in the Browser, these documents are in a shared directory on the NET.

2 - Depending on the level of access the user who is viewing it can print the document.

3 - Depending on the level of access the user who is viewing it may also make changes in the document and SAVED.

Note: No way, the user can save this document on the local computer, any change must be made in the original document located in a folder on the network. Access to this document can only be done through the web application.

We are currently studying the possibility of using a component (this component, we solve the 1st and 2nd item, but the 3 - Edit and save, I'm having trouble) provided by Aspose (Aspose Words):

http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx

That is paid, but if we could solve this problem without using this, it would be great.

Thanks,
Alcides Ribeiro Junior
0
Comment
Question by:br_ms
  • 5
  • 3
8 Comments
 
LVL 15

Accepted Solution

by:
dave4dl earned 500 total points
ID: 33563616
You can use sharepoint to accomplish wish #1, #2, and #3.  See http://en.wikipedia.org/wiki/Microsoft_SharePoint
0
 

Author Comment

by:br_ms
ID: 33566364
Dave4dl, using sharepoint would certainly be the best solution, however, the client already has a system developed in ASP.NET for managing documents, in fact, these implementations that I was asked would be just to build a module that is possible to view documents WORD, Excel spreadsheets, edit them and print when needed, all through the browser. Do you know any component to carry out these tasks? Can be either to ASP.NET or Silverlight.

Thanks,
Alcides Ribeiro Junior
0
 

Author Comment

by:br_ms
ID: 33610935
Can anyone help me? please.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 15

Expert Comment

by:dave4dl
ID: 33612975
I think any web server that supports the PUT http command would let you save files (you would have to have the full version of Word and Excel on the client machines).
0
 
LVL 15

Expert Comment

by:dave4dl
ID: 33612987
although after reading the following post:
http://help.lockergnome.com/office/Problem-save-Word-Document-Server--ftopict617111.html

It is clear that you cannot save directly to a web server (without sharepoint).
0
 
LVL 15

Expert Comment

by:dave4dl
ID: 33613030
You could write a system that has some of the functionality you are looking for:

You could write a service that runs on the client machines that scans your temporary file locations for any .doc or .docx files (unfortunately you cannot set the temp location in Word: http://answers.yahoo.com/question/index?qid=20080416015928AAjUuqp so you have to scan all the temp folders).  If it found a .doc (or .docx) it would see if the create date and modified date are different.  If they were different, it would copy the file into a file share that points to the web server where the hosted file is stored.  It would record that it had uploaded the file at a particular time and then not upload that same file again until the modified time was after that last upload time.

This would be some of what you need but a huge problem with it is that you have no versioning or locking (so multiple people could run over each other).  You could create something that somewhat solves this problem if you inserted a version control system like Subversion into this system.  This would work by having your client service commit to your subversion codebase and another service running on the web server (or elsewhere) that continually updated the file hosted on the web server with the latest version of the file in the codebase.

There are a lot of potential problems in this process (starting with the fact that the users will be responsible for saving the file with the correct name) but it seems to be about the best you can do with the restrictions you are facing.
0
 
LVL 15

Expert Comment

by:dave4dl
ID: 33613044
I just realized that you actually never say that the file is hosted on a web server.  This could work if you open the file from a Windows share (althought the step of using a web browser is completely unnecessary and only would add complication).  If you goal in using the web browser is to avoid the need for licenses for non-free versions of Word and Excel, I think you might be out of luck, MS does a pretty good job of making sure there are no legal ways to get their products' Save functionality without buying it.
0
 

Author Closing Comment

by:br_ms
ID: 33729075
Thx
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question