<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Non Repeating &#8211; Random Number Generation Class</title>
	<atom:link href="http://maxotek.net/blog/non-repeating-random-number-generation-class-t9.html/feed" rel="self" type="application/rss+xml" />
	<link>http://maxotek.net/blog/non-repeating-random-number-generation-class-t9.html</link>
	<description>Technology Blog</description>
	<lastBuildDate>Sat, 07 Aug 2010 20:25:21 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: partho</title>
		<link>http://maxotek.net/blog/non-repeating-random-number-generation-class-t9.html/comment-page-1#comment-9214</link>
		<dc:creator>partho</dc:creator>
		<pubDate>Fri, 02 Oct 2009 07:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://maxotek.net/blog/?p=9#comment-9214</guid>
		<description>&lt;a href=&quot;#comment-8944&quot; rel=&quot;nofollow&quot;&gt;@A-bit-daft&lt;/a&gt; 
The following code snippet generates a random number in the range 0 - 10.

&lt;pre lang=&quot;vbnet&quot; line=&quot;1&quot;&gt;
Dim generator As RandomNumber = new RandomNumber(0, 10)
Dim num As Integer = generator.GetRandomNumber()
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-8944" rel="nofollow">@A-bit-daft</a><br />
The following code snippet generates a random number in the range 0 &#8211; 10.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="vbnet"><span style="color: #0600FF;">Dim</span> generator <span style="color: #FF8000;">As</span> RandomNumber <span style="color: #008000;">=</span> <span style="color: #FF8000;">new</span> RandomNumber<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span>, <span style="color: #FF0000;">10</span><span style="color: #000000;">&#41;</span>
<span style="color: #0600FF;">Dim</span> num <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Integer</span> <span style="color: #008000;">=</span> generator.<span style="color: #0000FF;">GetRandomNumber</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: A-bit-daft</title>
		<link>http://maxotek.net/blog/non-repeating-random-number-generation-class-t9.html/comment-page-1#comment-8944</link>
		<dc:creator>A-bit-daft</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://maxotek.net/blog/?p=9#comment-8944</guid>
		<description>This sounds so daft but.. where on earth do I specify the range that the numbers should fall between?</description>
		<content:encoded><![CDATA[<p>This sounds so daft but.. where on earth do I specify the range that the numbers should fall between?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeri from IL</title>
		<link>http://maxotek.net/blog/non-repeating-random-number-generation-class-t9.html/comment-page-1#comment-2</link>
		<dc:creator>Jeri from IL</dc:creator>
		<pubDate>Tue, 15 Apr 2008 03:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://maxotek.net/blog/?p=9#comment-2</guid>
		<description>I have been trying to use the modified code to use String words instead of random numbers. I tried the code ethat appeared in astahost.com website but I am having a time runnning it as the Sub New(ByVal ParamArray Words() As String, there is an error on the New and I can&#039;t seem to find a correction for it, also it states there is an error on line Ch = 0 + CInt(Rnd()* (Words.Count - 1))  Can you help?
Actually what I am trying to do is input a number of names and then sort them Randomly for use of parings for a golf league.  I use to do it in QuickBasic and it Read a data file, I would like to convert it to vb2005Express, but can&#039;t seem to get it to work.  I thought the one that appeared in Astahost.com could work.  Any help would be appreciated.  Thanks JeriR</description>
		<content:encoded><![CDATA[<p>I have been trying to use the modified code to use String words instead of random numbers. I tried the code ethat appeared in astahost.com website but I am having a time runnning it as the Sub New(ByVal ParamArray Words() As String, there is an error on the New and I can&#8217;t seem to find a correction for it, also it states there is an error on line Ch = 0 + CInt(Rnd()* (Words.Count &#8211; 1))  Can you help?<br />
Actually what I am trying to do is input a number of names and then sort them Randomly for use of parings for a golf league.  I use to do it in QuickBasic and it Read a data file, I would like to convert it to vb2005Express, but can&#8217;t seem to get it to work.  I thought the one that appeared in Astahost.com could work.  Any help would be appreciated.  Thanks JeriR</p>
]]></content:encoded>
	</item>
</channel>
</rss>
