TrackChanges Issue

Hi,

We are working on word customization using VSTO 2005. We binded a XML Schema.

When user switching between XML Tags we are disabling track changes in the intension of any background operation is done on Word would not be reflected in Track changes by giving like this,

this.TrackRevisions = false

Once the background operation is finished we are enabling track changes again.

this.TrackRevisions = false

But the track changes whatever being done in the background operation are displayed as track changes, though we are disabling the track changes before the operation.

Thanks in advance for the pointers.

Regards,

Jeevanantham



Answer this question

TrackChanges Issue

  • OPitas

    Hi Jeevanantham:

    I can't seem to reproduce your problem; it works fine when I try it. Here's what I'm doing:

    On the ContextEnter event of the tag, I have this line of code:

    this.TrackRevisions = false;

    On the ContextLeave event of the tag, I have this line of code:

    this.TrackRevisions = true;

    I change text outside of the tags, and I see the revision marks. I enter and change text within the tags, and it does not display revision marks. I open the Reviewing Pane and all I see are the revisions made outside of the tags.

    The only thing I can suggest is to make certain you turn off revisions on the ContextEnter event of the tag and turn them on again on the ContextLeave event of the tag.

    I hope this helps!

    Mike Hernandez
    Community Program Manager
    VSTO Team


  • TrackChanges Issue