Saving a Word Document within a WebBrowser Control

  • Thread starter Thread starter Dean Richardson
  • Start date Start date
D

Dean Richardson

Hello,

I am currently building a windows application in VB.NET. At the moment
I have a word document saved locally which I open with the WebBrowser
control.

I cannot seem to save the changes made to the document.

I have a button on the Windows form which is used for saving the
document. At the moment the code behind the button is as follows:

doc = AxWebBrowser1.Document
doc.Save()

Unfortunately, this doesn't work. I only need to save the document and
close the WebBrowser control, but I keep meeting a lot of error.

Please could someone help. The IDE is Visual Studio 2005.

Thanks in Advance,
Dean
 
Sorry,

Had issues with my browser.

Constructive reply by the way thanks. That really helps me!

Dean.
 
Back
Top