<?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 - Discussions by rezaElc87</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by rezaElc87</title>
		<link>http://channel9.msdn.com/Niners/rezaElc87/Discussions</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/Niners/rezaElc87/Discussions</link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 06:33:59 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 06:33:59 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<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>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 - StreamReader class in C#!</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/StreamReader-class#c858240ce1b434df38240a12e00afec47">Sven Groot</a>: That is the ultimate answer. I was actually looking for an answer as simple as this one.&nbsp;</p><p>thanks a lot</p><p>best regards!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/bc8aa57b32a349218020a12e00b399b7#bc8aa57b32a349218020a12e00b399b7</link>
		<pubDate>Fri, 21 Dec 2012 10:53:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/bc8aa57b32a349218020a12e00b399b7#bc8aa57b32a349218020a12e00b399b7</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 - StreamReader class in C#!</title>
		<description><![CDATA[<p>thanks a lot for answering. it's a very great idea.&nbsp;Liked&nbsp;it.</p><p>I myself tried the following code to do the job, but your code is far more simple and better:</p><p><pre class="brush: csharp">using System;
using System.IO;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            StreamReader myreader = new StreamReader(@&quot;D:\ekhtera\textFile.txt&quot;);
            string[] array = new string [arrayDimension(myreader)];
            StreamReader reader = new StreamReader(@&quot;D:\ekhtera\textFile.txt&quot;);
            string line = &quot;&quot;;
            int index = 0;
            while (line != null)
            {
                line = reader.ReadLine();
                if (line != null)
                    array[index] = line;
                index&#43;&#43;;
            }
            Console.WriteLine(array[4]);
            reader.Close();
            Console.ReadKey();

        }

        private static int arrayDimension(StreamReader newStream)
        {
            string line = &quot;&quot;;
            int i = 0;
            while (line != null)
            {
                line = newStream.ReadLine();
                if (line != null)
                    i&#43;&#43;;
            }
            newStream.Close();
            return i;
        }
    }
}
</pre></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/be8b2eca0d8945228356a12e00acc5ce#be8b2eca0d8945228356a12e00acc5ce</link>
		<pubDate>Fri, 21 Dec 2012 10:29:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/be8b2eca0d8945228356a12e00acc5ce#be8b2eca0d8945228356a12e00acc5ce</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 - StreamReader class in C#!</title>
		<description><![CDATA[<p>I am trying to read a text file from the hard disk of my computer, and define every line of it as an element of a string array. I can read the file and&nbsp;separate&nbsp;the lines, I just do not know how to put them inside an array. I would be very&nbsp;thankful&nbsp;for your helps!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/2d1a32eff3114d6ea061a12e00a491d2#2d1a32eff3114d6ea061a12e00a491d2</link>
		<pubDate>Fri, 21 Dec 2012 09:59:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/StreamReader-class/2d1a32eff3114d6ea061a12e00a491d2#2d1a32eff3114d6ea061a12e00a491d2</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 - number of characters in textbox (C#)</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/number-of-characters-in-textbox-C#c3f6a6d8ab3a04b4a9727a09f00fa4f22">magicalclick</a>: this was the best reply I guess. I will try that. thank you.&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/cfd2ed98053642279263a0a000d281fb#cfd2ed98053642279263a0a000d281fb</link>
		<pubDate>Wed, 01 Aug 2012 12:46:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/cfd2ed98053642279263a0a000d281fb#cfd2ed98053642279263a0a000d281fb</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - C# and universal serial bus (USB)</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/C-and-universal-serial-bus-USB#ca61cc3020ec249439331a0a000884578">evildictaitor</a>:</p><p>thanks, but I have already tried that.&nbsp;</p><p>no satisfactory results!!!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/C-and-universal-serial-bus-USB/68840255228b463cb159a0a000d1b8ab#68840255228b463cb159a0a000d1b8ab</link>
		<pubDate>Wed, 01 Aug 2012 12:43:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/C-and-universal-serial-bus-USB/68840255228b463cb159a0a000d1b8ab#68840255228b463cb159a0a000d1b8ab</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - C# and universal serial bus (USB)</title>
		<description><![CDATA[<p>hi-</p><p>I have spent hours in MDSN and I couldn't find any efficient method for communicating with USB using C#.</p><p>I want to create an application to select an MP3 and send it to the circuit I have designed and connected to USB (AM modulator), and then receive and play it with a regular radio. so I need to define the USB to C# and I don't know how to do it.</p><p>regards</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/C-and-universal-serial-bus-USB/90e409510bd140fea6a5a0a000840e10#90e409510bd140fea6a5a0a000840e10</link>
		<pubDate>Wed, 01 Aug 2012 08:00:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/C-and-universal-serial-bus-USB/90e409510bd140fea6a5a0a000840e10#90e409510bd140fea6a5a0a000840e10</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - number of characters in textbox (C#)</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/number-of-characters-in-textbox-C#c8357f4ecf77a43cb8c6ea09f00e83260">rezaElc87</a>: hi- thank you for answering. all of you!</p><p>this is not a homework assignment. it's not even a part of that too.</p><p>it is a very small part of a big robotic project that is under&nbsp;development. in order to program a&nbsp;micro-controller I need to convert all these numbers every time and I thought it would be nice if I have the application on my computer. The one I create myself. I have worked with C and java. I'm just not so familiar with C#. but I think I like this language.</p><p>and two minutes after I posted this question, I found the answer for my first question. I can change it in the property window of TextBox (MaxLength property). And some of you mentioned this.</p><p>anyway, thanks for your time and answers</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/6106179b04e34d0aabcaa0a00081ed77#6106179b04e34d0aabcaa0a00081ed77</link>
		<pubDate>Wed, 01 Aug 2012 07:53:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/6106179b04e34d0aabcaa0a00081ed77#6106179b04e34d0aabcaa0a00081ed77</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - number of characters in textbox (C#)</title>
		<description><![CDATA[<p>hi- every one.</p><p>I'm having a problem with a program I'm trying to write in windows forms. I want to write a program to convert binary numbers (1Byte) to hexadecimal.</p><p>the program works like this:</p><p>user inserts a binary number in a textbox and the result will be shown in another textbox.</p><p>I know the algorithm and everything. there is just one problem:</p><p>since the number must be binary I don't want the keyboard type in any other numbers ( other than 0 and 1) or other characters. I want to disable them in my application. how can I do that?</p><p>best regard</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/8357f4ecf77a43cb8c6ea09f00e83260#8357f4ecf77a43cb8c6ea09f00e83260</link>
		<pubDate>Tue, 31 Jul 2012 14:05:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/number-of-characters-in-textbox-C/8357f4ecf77a43cb8c6ea09f00e83260#8357f4ecf77a43cb8c6ea09f00e83260</guid>
		<dc:creator>rezaElc87</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rezaElc87/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>