Microsoft Office Document Viewer

We need a custom control that can display Microsoft Office files (Word, Excel ..). There is no need to edit them.

As I see it, there are standalone viewer apps available that can be downloaded from Microsoft's site , but I'm wondering if this could be embedded in a custom control.

I think there might be a COM / ActiveX component, but I cannot test this because I have Office installed, so I need to install viewers on a clean machine.

Does anyone have any experience in this regard?

+1


source to share


2 answers


I wouldn't consider using Office Viewers as providers of COM objects (even if they register Office COM components). As far as I can interpret the license (I'm not a lawyer, but I had to read and discuss my share of the EULA over the years), you are not allowed to use anything provided by Office viewers in your application. Corresponding clause of the license (right at the beginning):

  • INSTALLATION AND USE OF RIGHT.

and. General. You can install and use any number of copies of the software on your devices. You can only use the software to view and print files created with Microsoft Office software. You may not use the software for any other purpose.



I would get rid of the gray areas in Microsoft licensing. What you want may be strictly forbidden ($ deity knows the EULA is pain to interpret), but that is definitely not allowed by the spirit of the license. Since you can go to court if you want, and since brightening the gray areas costs a lot of money, and since they have deep pockets ... I think you can see where I am going with this.

If you're going to block your users in Office, you usually have to bite the bullet and require your users to buy Office licenses.

+2


source


If you download them from Microsoft, it is most likely an OCX or ActiveX component. I don't know how to use it in C #, C ++, ... In Java, I use jawin ( http://jawinproject.sourceforge.net/ ) to be able to work with Word like mail merge.



0


source







All Articles