I’m using the office viewer activex control. I have spent lots of time in solving the bug of dsoframer. It is originally developed by Microsoft as a C++ ActiveX control sample to host/embed ms-office documents (download here). But unfortunately it also have several bugs:

1. The title of the host application will go garbled when the control is disposed.

2. Event can not be fired correctly when embedded directly in a winform control.

3. Events can not be fired when wrapped in a C# user-control.

4. Call DSOFramer to handle word in IE cause IE crash.

5. Word 2007 files will be deleted after saving.

6. Files are locked so the upload action will always fail.

Can not start a separate office process to handle the documents if there is already an existing one. For destop application, this may lead to miscellaneous bugs such as: no response of toolbar, can not start office externally after control is initialized, redo/undo influence all the instances instead of the active one, etc.

Edraw Office Viewer Component V7 help you host MS Office and there are not these above headachy problems. It is more steady than the dsoframer and has more automation functions.

What’s New in Edraw Office Viewer Component

1. Faster new and open speed.
2. Supports office 2010.
3. New version invokes the Office Ribbon menu. The developer can enable it or disable it by requirement.
4. Supports to open multiple Word, Excel, PowerPoint Instances in the different form or the IE tab.
5. Solves the toolbar disable issue when open a word instance outside of the component.
6. Solves the word menu flicker in the IE 7 and IE8.
7. Added the method to disable the view right click menu.
8. Allows to disable the save, print and copy hot key in the MS Word document (includes the F12 hot key).
9. Invokes the Word event and Excel event in the component.
10. Supports to open the office 2007 files in Office 2003 with 2007 compatibility package installed.
11. Supports to open the password and write password protected word document.
12. Addes the protect type to allow only revisions or full protection.
13. Fixes the bug which Word cannot create the work file: check environment temp variables when Vista UAC enabled.