<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 10:21:46 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 10:21:46 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>6</c9:totalResults>
	<c9:pageCount>-6</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p>Hi to all!</p><p>I am trying to write a code in windows forms in c# to open two text files and compare them.&nbsp;</p><p>the process is as follows:</p><p>1- two text boxes are provided on the window</p><p>2- the files are loaded into text boxes using OpenFileDialogue&nbsp;</p><p>3- I want to have the first text as the base and compare the second one to that and highlight the&nbsp;similarities&nbsp;and differences using different colors on the second text.</p><p>I actually don't know how to do step 3.</p><p>many thanks for your helps!!</p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/e13e50e4ca7248fd84fca13600d84147#e13e50e4ca7248fd84fca13600d84147</link>
		<pubDate>Sat, 29 Dec 2012 13:07:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/e13e50e4ca7248fd84fca13600d84147#e13e50e4ca7248fd84fca13600d84147</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p>You cannot highlight different parts of a textbox different colours, so you will need to think of a different approach to achieve your goal.</p><p>If I were you, I'd try breaking this problem into two; firstly there's the functional problem: &quot;Given two strings, how can I describe how they are different&quot;. This isn't necessarilly obvious, but look at something like the levenstein distance algorithm and you might get some pointers as to where to start or google for algorithms for &quot;diff&quot;-ing strings.</p><p>The second problem is one of rendering the output: &quot;Given a description of the differences between two strings (in whatever format my program provides it to me), put this on the screen in a visible way&quot;. One way you might want to consider is using a RichTextBox or outputting HTML directly into a WebBrowser control.</p><p>Decouple these. That way you will only have two self contained and moderately hard problems to solve instead of one sprawling and really hard problem to solve. When you've finished the first problem, feed it's output into the input of the second and you'll have your total solution.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/af3b9ef1f0fa49cd9e12a13600e1d11f#af3b9ef1f0fa49cd9e12a13600e1d11f</link>
		<pubDate>Sat, 29 Dec 2012 13:42:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/af3b9ef1f0fa49cd9e12a13600e1d11f#af3b9ef1f0fa49cd9e12a13600e1d11f</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms#caf3b9ef1f0fa49cd9e12a13600e1d11f">evildictaitor</a>: Thanks for you attention.</p><p>but I really need to do the job. What if I used a rich text box? Will I be able to do as I said?&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/ac6f812588bd4f3f8ceca136011eb727#ac6f812588bd4f3f8ceca136011eb727</link>
		<pubDate>Sat, 29 Dec 2012 17:23:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/ac6f812588bd4f3f8ceca136011eb727#ac6f812588bd4f3f8ceca136011eb727</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms#cac6f812588bd4f3f8ceca136011eb727">rezaElc87</a>: Take some&nbsp;initiative!&nbsp;That was really good advice you received from Evil D.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/71403aca1ba74c1e9483a1380052859e#71403aca1ba74c1e9483a1380052859e</link>
		<pubDate>Mon, 31 Dec 2012 05:00:27 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/71403aca1ba74c1e9483a1380052859e#71403aca1ba74c1e9483a1380052859e</guid>
		<dc:creator>Joshua Ross</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Jsoh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p>RichTextBoxes allow for coloring, highlighting, etc. It will provide capability for the display you desire.</p><p>How to compare files? Careful read evildictaitor's post. The information is there for you to discover, learn, and choose between.</p><p><strong><em>This isn't necessarilly obvious, but look at something like the levenstein distance algorithm and you might get some pointers as to where to start or google for algorithms for &quot;diff&quot;-ing strings.</em></strong></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/39af33ef8aa4484bad9ca138011daec7#39af33ef8aa4484bad9ca138011daec7</link>
		<pubDate>Mon, 31 Dec 2012 17:20:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/39af33ef8aa4484bad9ca138011daec7#39af33ef8aa4484bad9ca138011daec7</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Comparing two TextBoxes in C# windows forms</title>
		<description><![CDATA[<p><a href="http://winmerge.org/downloads/source-code.php">http&#58;&#47;&#47;winmerge.org&#47;downloads&#47;source-code.php</a></p><p>Why reinvent the wheel?</p><p>Edit: Oops. GPLv2. Sorry. Can't do much with this source code other than to learn some basic concepts from it.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/623d10721ca647a08ffda138011ed573#623d10721ca647a08ffda138011ed573</link>
		<pubDate>Mon, 31 Dec 2012 17:24:19 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Comparing-two-TextBoxes-in-C-windows-forms/623d10721ca647a08ffda138011ed573#623d10721ca647a08ffda138011ed573</guid>
		<dc:creator>cbae</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/cbae/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>