is it possible to insert microsoft word document editor to own application using PIA

2.1k views Asked by At

How to use Office Primary Interop assembly in own application like Business in the box. Is it possible?

1

There are 1 answers

0
Luke Quinane On BEST ANSWER

You can host Microsoft Office applications inside a control using the DSO Framer. You simply :

  • Add a reference to DSOFramer COM dll.
  • Right-click on your Toolbox in Visual Studio -> Choose Items -> COM Components -> DSO Gramer Control Object
  • Drag a new DSO Framer on to your form or parent control
  • And call framerControl.Open(@"C:\SomeDocument.doc"); - it will work out which Office application to embed.

Alternatively you can use the Win32 API to embed other programs into a Panel control inside your own application.