Home > Products > CSHTMLDiff Control > Web Server Integration

The following sample uses the CSHTMLDiff Control to compare two default files on the web-server.

  <%@ Language=VBScript %>
<%
   BaseFile = "C:\Demo\Base.htm"
   RevisedFile = "C:\Demo\New.htm"
   outputFile = "C:\OutputDir\output.htm"

   set DoDiff =
         server.CreateObject("CSHTMLDiff.CSHTMLDiffControl.1")
   DoDiff.SetTempDir("C:\Temp")
   DoDiff.DiffFiles BaseFile,RevisedFile,outputFile
   
%>
 

 Click to run the script on our server

You may also see the original: Base file & Revised file

Important: The evaluation version of the CSHTMLDiff Control doesn't run under IIS. In order to evaluate the expected output results, you can call the 'DiffFiles' function in any programming language.
If you wish to evaluate the control under IIS, please email us and we will send you a demo version for this purpose.

Click here for extended client-side functionality.

 


Copyright © 2001-2010 ComponentSoftware Inc.
Names used throughout this site are trademarks of their respective companies.
Last modified:
February 02, 2010