How to Host Office in WPf RRS feed

  • Question

  • I want to host Entire Office application in WPF so that it can open , read , save and EDIT like a standalone office application does.  Any ideas ?
    • Moved by Cindy Meister MVP Friday, October 29, 2010 7:10 AM not VSTO technology (From:Visual Studio Tools for Office)
    Thursday, October 28, 2010 6:21 PM

All replies

  • Hello Tushar,

    Thanks for posting. Here are some resources about how to host office documents. Wish they could help you.

    How to use the WebBrowser control to open Office documents in Visual C# 2005 or in Visual C# .NET:

    How to host word as a OLE/ActiveX control in WPF:

    Hosting Office in a WPF Application:

    If you have any concern on this post, or this post does not help you, just feel free to follow up. Have a nice day.

    Best regards,

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, November 1, 2010 7:26 AM
  • Thanks Bessie,

                         I have already looked at those pages before posting here. The second link has knowledge base articles which dont exist anymore. The last link has DSOframer which is no more supported by microsoft .

                         I have used the Webbrowser control to open excel(any other file types) files. But is there a way to edit and save them using web browser control or any other control. How do i do that ?

    Monday, November 1, 2010 7:25 PM
  • Hello again Tushru,

    To open the office documents in Web browser control, I have changed the registries by following this kb aricle: http://support.microsoft.com/kb/927009/. If you are also ready to use this KB article, please backup the originally values first. As the testing result in my side, we also could edit the file (add some text to a cell) and save it by pressing ctrl+s. Do you perform these actions in your side?

    Best regards,

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Tuesday, November 2, 2010 7:46 AM
  • Hi Bessie,

                  Yes the web browser opens the excel files but the standard excel toolbar is missing. I want the standard excel look so that people who do not know the shortcuts can use it with ease. Also the excel toolbar offers many advanced and helpful functionalities. The web browser control can open pdf files in acrobat reader with the toolbar , i want a similar look when excel files are opened with Web browser control.



    Tuesday, November 2, 2010 2:46 PM