<?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>Comment Feed for Channel 9 - While Iterations and Reading Data from a Text File - 11</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11/RSS"></atom:link>
	<image>
		<url>http://ak.channel9.msdn.com/ch9/f425/932f30c8-04ac-405a-aba6-9f9f0008f425/11VBWhileIterationsandReadingDatafromaTextFile_100_ch9.jpg</url>
		<title>Channel 9 - While Iterations and Reading Data from a Text File - 11</title>
		<link></link>
	</image>
	<description>In this lesson we&#39;ll both learn a new type of iteration statement (While) and will learn how to utilize the StreamReader class to stream data from a file to the Console window. Additionally, we&#39;ll learn how to add new files to our project, how to set properties of our file using the Properties window, how to add a using statement as a means of resolving a class name referenced in our code to the namespace in which it is defined, and more. Download the source code for While Iterations and Reading.... </description>
	<link></link>
	<language>en</language>
	<pubDate>Mon, 20 May 2013 04:37:57 GMT</pubDate>
	<lastBuildDate>Mon, 20 May 2013 04:37:57 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[Always great BOB<br>very intuitive, nice explanation<br>wishes from Morocco<p>posted by karim</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634577596610665104</link>
		<pubDate>Thu, 24 Nov 2011 19:27:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634577596610665104</guid>
		<dc:creator>karim</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[<p>open.</p><p>posted by golnazal</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634749292978366817</link>
		<pubDate>Sun, 10 Jun 2012 12:48:17 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634749292978366817</guid>
		<dc:creator>golnazal</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[G&#39;day Bob,<br>&#40;btw - enjoying the vid&#39;s - going to be excellent resources for my students&#41;<br><br>Would it have been &#34;better&#34; &#40;more obvious&#41; to use a &#34;do until IsNothing&#40;line&#41; ... loop&#34; construct rather than the &#34;while ... end while&#34; &#63; Or perhaps even the &#34;do ... loop until IsNothing&#40;line&#41;&#34; &#63;<br><br>The &#34;benefit&#34; would be the immediate removal of the &#34;double-negative&#34;, which, to be honest, as a vet of 4 decades of coding still trips me up occasionally &#59;&#39;&#41; I know my students struggled with it just last week, hence why it is still &#34;fresh&#34; in my mind &#58;&#41;<br><br>Kind regards,<br><br>Harry<p>posted by harry</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634749651740614981</link>
		<pubDate>Sun, 10 Jun 2012 22:46:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634749651740614981</guid>
		<dc:creator>harry</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[<p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634749651740614981">harry</a>: &nbsp;Great, great tip! &nbsp;You're right, I probably could have written than using a different looping structure and made it a &quot;positive&quot; rather than a double-negative. &nbsp;<img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /> &nbsp;Thank you and best wishes to your students!</p><p>posted by BobTabor</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634751349252684658</link>
		<pubDate>Tue, 12 Jun 2012 21:55:25 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634751349252684658</guid>
		<dc:creator>BobTabor</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[I have noticed that with Harry&#39;s Do until method you no longer need the If then statement also..  Thanks for the tip Harry and thanks Bob for the While method I see where they can both be very useful.<p>posted by Rick</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634817822156689327</link>
		<pubDate>Tue, 28 Aug 2012 20:23:35 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634817822156689327</guid>
		<dc:creator>Rick</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[<p>I was looking for an open thread to thank you on previous 10 tutorials but all threads were closed....finally got the opportunity ...Thanks for creating tutorials that are so simple yet teaches you a lot...are there videos for WinForms apps too using VB..if yes plz share the link..I'll be very grateful to you..well that is already I'm.</p><p>posted by ZeroShek</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634845207302457503</link>
		<pubDate>Sat, 29 Sep 2012 13:05:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634845207302457503</guid>
		<dc:creator>ZeroShek</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[Thank you for these great videos&#33;  Bob - your delivery is excellent.  Great voice, cadence, inflection, etc. Of course it helps that the subject matter is important to me, but that&#39;s beside the point&#33;<p>posted by Beth</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634849724917845512</link>
		<pubDate>Thu, 04 Oct 2012 18:34:51 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634849724917845512</guid>
		<dc:creator>Beth</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[<p>Thank you for this excellent series, a great resource.</p><p>posted by meldoc</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634850660973577014</link>
		<pubDate>Fri, 05 Oct 2012 20:34:57 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634850660973577014</guid>
		<dc:creator>meldoc</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[Tried Harry&#39;s method the Do Until...Loop<br>coded like this&#58;<br>Dim myReader As StreamReader &#61; New StreamReader&#40;&#34;values.txt&#34;&#41;<br><br>        Dim line As String &#61; &#34;&#34;<br>        Do Until IsNothing&#40;line&#41;<br>            line &#61; myReader.ReadLine&#40;&#41;<br>            Console.WriteLine&#40;line&#41;<br>        Loop<br>        <br>        myReader.Close&#40;&#41;<br>        Console.ReadLine&#40;&#41;<br>The program ran I.E. gave the correct output to the display, but with following errors&#58;<br><br>A first chance exception of type &#39;System.IndexOutOfRangeException&#39; occurred in UnderstandingArrays.exe<br>A first chance exception of type &#39;System.IndexOutOfRangeException&#39; occurred in UnderstandingArrays.exe<br>A first chance exception of type &#39;System.IO.FileNotFoundException&#39; occurred in mscorlib.dll<br><br>I realize the lesson was on using the While&#40;&#41;...IsNothing but as wondering what else is wrong with my code.<p>posted by Kent Haunschild</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634913674306374284</link>
		<pubDate>Mon, 17 Dec 2012 18:57:10 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634913674306374284</guid>
		<dc:creator>Kent Haunschild</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[<p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634817822156689327">Rick</a>: Agreed.</p><p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634845207302457503">ZeroShek</a>: &nbsp;Thanks! &nbsp;I'm sure there are videos out there, but not by me. &nbsp;Sorry!</p><p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634849724917845512">Beth</a>: Ah, thanks Beth!</p><p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634850660973577014">meldoc</a>: Thank you!</p><p>@<a href="/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634913674306374284">Kent Haunschild</a>: Hi! &nbsp;check this out ... it uses Do ... Loop Until properly:</p><p><a href="http://msdn.microsoft.com/en-us/library/aa720461(v=vs.71).aspx">http&#58;&#47;&#47;msdn.microsoft.com&#47;en-us&#47;library&#47;aa720461&#40;v&#61;vs.71&#41;.aspx</a></p><p>posted by BobTabor</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634923410359076777</link>
		<pubDate>Sat, 29 Dec 2012 01:23:55 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634923410359076777</guid>
		<dc:creator>BobTabor</dc:creator>
	</item>
	<item>
		<title>Re: While Iterations and Reading Data from a Text File - 11</title>
		<description>
			<![CDATA[so good&#33;<p>posted by jueban</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634925391138511436</link>
		<pubDate>Mon, 31 Dec 2012 08:25:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners/While-Iterations-and-Reading-Data-from-a-Text-File-11#c634925391138511436</guid>
		<dc:creator>jueban</dc:creator>
	</item>
</channel>
</rss>