Text Comparator

TextCompareOne of the demo’s in the Fast Colored Textbox by Pavel Torgashov was to show the difference between two files.  Although there are other programs that can do the same, some even better, I liked to have a light weight program with a little more control to load a file.

I therefore changed the code to vb.net, made some changes to the interface and added some extra code to load files via drag and drop and via arguments.

The following arguments are optional to start the program:  TextCompare.exe “Text1.xml” “Text2.txt” top=0 left=500 width=max height=500
width and height can have the value “max”. In that case the height and/or width are resized to match to the right side or bottom of the primary screen.

The file can be downloaded here.