|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Saving a Word Document within a WebBrowser ControlI 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 Did you really need to post this 4 times within 16 minutes????????
Show quoteHide quote "Dean Richardson" <advertis***@deanrichardson.com> wrote in message news:1166197056.072366.14310@80g2000cwy.googlegroups.com... > 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. Stephany Young wrote: Show quoteHide quote > Did you really need to post this 4 times within 16 minutes???????? > > > "Dean Richardson" <advertis***@deanrichardson.com> wrote in message > news:1166197056.072366.14310@80g2000cwy.googlegroups.com... > > 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 > > |
|||||||||||||||||||||||