Embedding Office Documents in .NET 2.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to embed an Office Document in a VS 2005 Windows Application
which I can edit and save.

The only documentation I can find uses a COM component Webbrowser control.
I would like to avoid using this and use the new .NET 2.0 Webbrowser control
but I can't figure out how to communicate between the form and the webbrowser
whether the file has changed so I can save it. I have no problem displaying
the document, but I can't save.

Any help would be much appreciated!!
 
Hi Chris,

I'd rather use Microsoft Office ActiveX Controls to embed the documents, but
not the WebBrowser (who actually uses the same ActiveX controls behind the
scenes). With the controls, you should have full access to the Office object
model (though I haven't checked it myself) and therefore should be able to
save the changes.

You might also want to take a look at the following Microsoft .NET SDK tools
(you will most likely need both):

TlbImport.exe
AxImport.exe
 
Back
Top