Currently we have a .dot/.dat files which have template loaded and user when selects for a particular document we use the template generate a word document store it in temp location and display to user. When we are trying to access these documents we are getting an error as "Could not open macro storage.". I enabled macros on word document, and gave full read write permissions to user on template location on server. Nothing is fixing any ideas or pointers if anyone as came across this kind of similar issue. This is a windows desktop application.
Related
Im making a Sharepoint Application. I want to save documents in my sharepoint and open it with Word online(office online/ word web app).
When I open a document in Word online I want to force that a office add-in also starts. Here is an example:
I already manage to open the documents in Word Online. But I havent manage to force the office add-in. Is this posible?
I do not believe it is possible to force an add-in to load automatically right now. The model is that the user must actively open it each time the document is loaded. The exception here are Content add-ins which are embedded into the document as a piece of content.
Please mark the answer as 'answered' if it answers your question.
I have .docx files in a sharepoint library. When I open file by the link, it opens in read-only mode
BUT
I can click "Enable edit", edit this document and save it to the sharepoint library.
Can I set only "read-only" permissions for this file?
How can I use DispEx for this?
I think you can set the library permissions to read only, so the user can pull a word doc from there, but not write to the library. As far as a word doc itself goes, I don't think you can keep that in read only. Once a user downloads a file, they can save it and edit it locally.. unless the word document is initially uploaded with some sort or protection. Case in point, open Word (2010+), choose File, and choose Info. There are various options in the Permissions section that should help you out.
I have some shared documents at my file server. I'd like to apply some sort of protection to these ms office documents. I want that put users in different groups and authorize them on files. Authorization means here that some users should not able to select a part of document, to copy the file. They should just able to view files as read only.
It is so workaround way doing it on office documents individually. Server permission system does not provide any selection protection etc.
Bottomline, I need something like Print Preview excluded editing and printing options.
Is there a way in order to do that programatically? It can be via C# or some other third party tools.
Thanks in advance.
I made it with WPF and XPS. Check this out for further information : http://www.codeproject.com/Articles/22849/Integrating-WPF-with-Windows-Forms
Suppose in .NET (don't care what language) I want to show a user a PDF, Word and Excel file together. I am trying to replicate a document process where a user might have a PDF file and he would like to attach a WORD file and an Excel file let's say to make a stack of documents (that I would save in some directory). Then he would like to click on a button and see a stack of these documents in 1 application of some sort.
How can I display the stack of documents WITHOUT first opening WORD, then openinig EXCEL and then openining ADOBE ACROBAT - this would be really annoying for the user. I would like one unified application or some idea to mimic one in .NET that can just show all 3 documents as if they were printed one after the other on paper. (I hope I am explaining this clearly)
The only thing I can think of to do this would be to leverage some sort of PDF conversion process to create one PDF file containing all three of these documents in "printed" (page-by-page) form, and then show that. The one application I can think of that could show all of these files is a web browser with appropriate Office and Acrobat viewer plugins, and you might find it difficult to leverage that, as browser preference and other user OS settings can cause various strategies for application launching to fail.
I would convert the documents in PDF and develop a pdf viewer inside your application.
I would use a ready made library for that, don't reinvent the wheel.
For example: http://www.quickpdflibrary.com/products/quickpdf/index.php
I am using ASP.Net MVC with C# and SOLRNET for my search tool. The files I index include .pdf files, word docs, excel etc...
I am able to search and retrieve all the docs with a hit. Now the problem lies in opening the files with a hit.
When I open the file, it should open at the location where the hit is encountered. How do i manage this? It will be even more helpful if I can highlight the hit inside the opened document?
Please help me in solving this.
It depends on the file type, or more precisly it depends on the plugin/tool used by browser to render the document
For example, for pdf you can specify on which page to open using following
<a href="document.pdf#page=123">
Word/Excel is a bit more complicated, I think there is no direct URL support, but you could in theory equip a document with AutoOpen/Exec macro which will auo-search for and highlight hits for user
All in all, there is no universal solution.