Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Prevent save dialog from WebBrowser control

12 views
Skip to first unread message

Igor

unread,
Dec 10, 2007, 3:31:05 AM12/10/07
to
Hi!

We using WebBrowser control to display or edit Word documents.

Sometimes, when we load some Word document into WebBrowser control by
Navigate2 method and then try to navigate to another Word document WebBrowser
control will display message box with question "The documents changed. Do you
wish to save changes" (or something like this) even if we did not made any
actual changes.

We tried to indicate to WebBrowser control that document not changes by
setting .Sved = true of WebBrowser.Document object (WebBrowser.Document.Saved
= true). It does not make any diffeence.
Only actual save by call to ExecWB method prevent displaying if this message
box.

Has any one ideas how to solve our problem?

Thanks!
Igor.

0 new messages