We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Tracking changes

Thread ID:





78770 Dec 30,2008 04:27 AM Jan 2,2009 08:33 AM ASP.NET Web Forms (Classic) 1
Tags: DocIO
Administrator [Syncfusion]
Asked On December 30, 2008 04:27 AM

Why do I not see the changes that are made in the search/replace-function. The changes are done in the document, but I don't see them in colors back and TrackChanges = true

I hope someone can help me

I have the following code:

Dim document As New DLS.WordDocument
document.Open("c:\temp\test.doc", FormatType.Doc)
document.TrackChanges = True

Dim sSql As String = "Select search, replace from conversion"
Dim myConnection As New SqlConnection(strConn)
Dim myCommand As New SqlCommand(sSql, myConnection)

Dim objDataReader As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection)
Do While objDataReader.Read()
Dim nAantal As Integer = 0
Dim sSearch As String = objDataReader.Item("search").ToString
Dim sReplace As String = objDataReader.Item("replace").ToString

nAantal = document.Replace(sSearch, sReplace, True, True)

Dim sBestandNew As String = "c:\temp\test_.doc"
document.Save(sBestandNew, FormatType.Doc, Response, HttpContentDisposition.InBrowser)

Bhuvaneswari P [Syncfusion]
Replied On January 2, 2009 08:33 AM

Hi Aart,

Thank you for your interest in Syncfusion products.

Currently we don't have support to mark or create the Track Changes. We can only preserver, accept or reject changes in document where "change" marks are already set (generated with MS Word).

Please let me know if you need any further details.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.