Office 2013 Web Apps - Standalone redistributable document - c#

Please consider a case as show in the image below...
I have two different apps (content + navigation) in a same excel sheet that are able to communicate with each other,
Based on this scenario, following are some questions...
1- Is it possible to deliver an excel document (standalone) which contains both of these apps, so that the end user doesn't need to insert these apps from the ribbon toolbar and user could be able to use this document on any machine (without any configurations and involving the app store/network)?
2- Is it possible to automate the process of generating excel documents that contains both of these apps? My purpose of doing this automation is to change the data contained in excel sheets, and user can perform analysis with his data.
Thanks!
Asif

I asked the same question on msdn forums and got some feedback by them, you may follow the link below for details...
http://social.msdn.microsoft.com/Forums/office/en-US/057723f1-cfe5-4f41-9d7a-430cb2f0c4c6/create-a-distributable-excel-document-with-web-apps?forum=appsforoffice&prof=required
Based on these details, my understanding is that Office 2013 web apps don't currently support standalone deployments packaged with local html files. But in future they might think of providing support for disconnected mode web apps in Office 2013.
Your comments are welcome!
Thanks,
Asif

Related

How to Identify excel link in Word Document using c#

In one of our projects am storing the msword document in DB, modifying the word document programatically and generating pdf, which is working fine.
One of the usecase In the word document is, if user links an excel sheet with paste special link option.
This link works i.e data change in the excel reflects in the word document till the both the files in the end users local machine.
This does not work when the word document is saved to DB as blob and generating the pdf from that blob.
Reason identified is linked excel sheet in the word is not in the same path. So i was trying to figure out the link using aspose word api and trying to manipulate.
Any help on this is highly appreciated
The Considerations for server-side Automation of Office states the following:
Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
You may consider using the Open XML SDK or any third-party components designed for the server-side execution (like you chose).

Is MS office required on server to use Microsoft.Excel.interop

I have created a merge excel program in my application using Microsoft.Office.Interop.Excel. But when deployed on IIS server I am getting error. Regarding that error I searched many articles and tried but got no successfs. So please can you verify this?
It is required.
But, you should not use Office interop on a server. The problem is that Office apps require a graphical user session to work properly. On the other hand, Windows service apps and IIS run without one. This is officially not supported and not recommended. If you do, you will encounter random crashes and resource leaks.
If you want to generate or modify Excel files, use OpenXML SDK.
EDIT: You may want to use Spreadsheet Gear. I can recommend it from personal experience in a web-app that manipulated existing Excel sheets with complex formulas.

Ability to edit Word documents with a .NET web application

I've been asked to give users the ability to upload existing Word documents or to create a new Word document within our application as part of editing a mailing template. The editing should occur within a frame as it would be part of a large page.
Are there third-party components for the import and UI or even better does Office 365 allow this type of functionality?
You can use Office Online to integrate view/editing of office documents. For more information see Integrating with Office Online.
The end solution, which is robust, secure and high performance was to use IT Hit WebDAV Server for .NET.
https://www.webdavsystem.com

creating word documents from a winforms application

I have a C# winforms application with a sql server backend and want to be able to create word documents from within my application and populate them with basic information like addresses, references etc. I've been browsing online for ideas but am struggling getting started on this subject.
Could someone please point me in the right direction.
As a starting point go to this link Office Development With Visual Studio
then download and install the requested libraries.
The subject is very broad and cannot be answered with precise details.
However just as you have requested, this is a direction:
Create a DOT document and fill it with MergeFields where the data from
SqlServer will be written to.
Add the references to the Office Interop Word library in your project
Declare the required Application and Document instance vars
Read your data from the database and open the DOT file using the Office Word library
Search in the DOT file the relative MergeField and update its text
Save the DOT file as document in your folder.
As you can see, each of these steps worth questions by itself. So you have a lot of work to do
What you need to look for are Report Designers , where you can edit them from code and export in many formats including word , pdf etc.
you can look for Crystal Reports , Devexpress XtraReports and also there are many that are free .

Display Excel 2007 Document in Browser using COM

I want to display and edit MS Excel File from client side using ActiveX COM object. The user would be allowed to edit the file and save it to local PC. Then It can be uploaded to remote server.
So, can you give me some example of displaying Word, Excel, Powerpoint etc document in Internet Explorer 8.0 using COM. I could not find such ocx files for that purpose . Can you help me finding it.
Thanks
Maksud
I think those controls would violate the MS Office distribution or EULA licensing agreements with Microsoft. Since an ActiveX control that emulates Word, Excel, PowerPoint would potentially give unlimited and anonymous users access to the software without paying for it. There's other Microsoft technologies that allow you to leverage the end-user's MS Offices licenses that allow them to save back to the web server. I think WebDAV used to be used (http://technet.microsoft.com/en-us/library/cc781730%28WS.10%29.aspx), I don't know what's out there now, but I'm sure there's a solution.
I wonder if the use of Google Docs would solve these issues. I'm pretty sure there's a way to leverage some sort of mix of Google Docs and the associated APIs to do something akin to what you are trying to do. I admit this isn't quite a perfect match for your goals.
This sounds like a use case that Office Live Workspace was created for. It's free, it's collaborative, and it allows you to determine sharing permissions.

Categories