<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx</link><description>An article I recently wrote for MSDN online just went live: An ASP.NET Framework for Human Interactive Proofs It's always fun when that happens :)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Great post on 'Human Interactive proofs' or those screwy letter things where you have to type in some letters...</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#233617</link><pubDate>Fri, 24 Sep 2004 01:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:233617</guid><dc:creator>Scott Galloway's Personal Blog</dc:creator><description /></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#233647</link><pubDate>Fri, 24 Sep 2004 03:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:233647</guid><dc:creator>Scott Galloway</dc:creator><description>Have to say, congratulations on the article. Great coverage of a very topicval subject!</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#233711</link><pubDate>Fri, 24 Sep 2004 06:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:233711</guid><dc:creator>Stephen Toub</dc:creator><description>Thanks, Scott!  Glad you like it.</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#235618</link><pubDate>Wed, 29 Sep 2004 10:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:235618</guid><dc:creator>Mike O Shea</dc:creator><description>This article seems to have covered all the current angles and is well worth the read.&lt;br&gt;</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#241181</link><pubDate>Tue, 12 Oct 2004 13:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:241181</guid><dc:creator>Anton Spass</dc:creator><description>Thanks for the article, Stephen!&lt;br&gt;&lt;br&gt;Would you please point the way Words collection can be set for ImageHipChallenge. I've tried to set the collection using VS designer collection editor, but it throws error message [Constructor on type System.String not found].&lt;br&gt;&lt;br&gt;Thank you in advance.&lt;br&gt;</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#241285</link><pubDate>Tue, 12 Oct 2004 18:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:241285</guid><dc:creator>Stephen Toub</dc:creator><description>Anton, I've post an answer to your question at &lt;a target="_new" href="http://blogs.msdn.com/toub/archive/2004/10/12/241277.aspx"&gt;http://blogs.msdn.com/toub/archive/2004/10/12/241277.aspx&lt;/a&gt;. Hope that helps. </description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#447329</link><pubDate>Wed, 03 Aug 2005 21:54:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:447329</guid><dc:creator>Shaun Slocumb</dc:creator><description>I have recently tried to use your controls but am having trouble. The image only displays periodically but I get no errors.  It displays correctly if I run the page locally or without the validator control in place but I haven't isolated it any further.  Any suggestions. Thanks</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#540063</link><pubDate>Mon, 27 Feb 2006 22:30:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540063</guid><dc:creator>PG</dc:creator><description>How to get this control to work (Page_Load) inside a FormView or any other data-bound control?&lt;br&gt;&lt;br&gt;This works :&lt;br&gt;Me.ImageHipChallenge1.Words.Add(&amp;quot;test&amp;quot;)&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br&gt;This doesn't:&lt;br&gt;&lt;br&gt;Dim row As FormViewRow = Me.FormView1.Row&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim hip As ImageHipChallenge = CType(row.FindControl(&amp;quot;ImageHipChallenge1&amp;quot;), ImageHipChallenge)&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hip.Words.Add(&amp;quot;testing&amp;quot;)&lt;br&gt;&lt;br&gt;Throws the exception: &lt;br&gt;&lt;br&gt;No words available for challenge.&lt;br&gt;&lt;br&gt;HipChallenge.cs&lt;br&gt;		protected virtual string ChooseWord()&lt;br&gt;		{&lt;br&gt;			if (Words.Count == 0) throw new InvalidOperationException(&amp;quot;No words available for challenge.&amp;quot;);&lt;br&gt;			return Words[NextRandom(Words.Count)];&lt;br&gt;		}		&lt;br&gt;</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#596572</link><pubDate>Sat, 13 May 2006 01:48:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:596572</guid><dc:creator>Jim Azar</dc:creator><description>Nice work this code works great for me! &amp;nbsp;&lt;br&gt;&lt;br&gt;In response to Shaun Slocumb's post above. &amp;nbsp;I had the same problem; it works fine locally, but not when deployed to W2003 server. The problem was caused by fonts specified in ImageHipChallengeHandler.cs that were did not exist on the server. I removed &amp;quot;Stencil&amp;quot; and &amp;quot;Century Gothic&amp;quot; and now it works fine. </description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#597339</link><pubDate>Sun, 14 May 2006 12:51:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:597339</guid><dc:creator>Ben</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Everything works fine on my development workstation (Windows XP, VS 2005) but I get the following error when deploying on my Windows 2003 x64:&lt;br&gt;&lt;br&gt;________________________________________&lt;br&gt;Event code: 3005 &lt;br&gt;Event message: An unhandled exception has occurred. &lt;br&gt;Event time: 5/14/2006 9:46:15 AM &lt;br&gt;Event time (UTC): 5/14/2006 9:46:15 AM &lt;br&gt;Event ID: e85d8f54977a435393eba310bcd7fcf7 &lt;br&gt;Event sequence: 164 &lt;br&gt;Event occurrence: 13 &lt;br&gt;Event detail code: 0 &lt;br&gt; &lt;br&gt;Application information: &lt;br&gt; &amp;nbsp; &amp;nbsp;Application domain: /LM/W3SVC/1491015058/Root/Secure-1-127920729179796735 &lt;br&gt; &amp;nbsp; &amp;nbsp;Trust level: Full &lt;br&gt; &amp;nbsp; &amp;nbsp;Application Virtual Path: XXX&lt;br&gt; &amp;nbsp; &amp;nbsp;Application Path: XXX&lt;br&gt; &amp;nbsp; &amp;nbsp;Machine name: XXXX&lt;br&gt; &lt;br&gt;Process information: &lt;br&gt; &amp;nbsp; &amp;nbsp;Process ID: 3948 &lt;br&gt; &amp;nbsp; &amp;nbsp;Process name: w3wp.exe &lt;br&gt; &amp;nbsp; &amp;nbsp;Account name: NT AUTHORITY\NETWORK SERVICE &lt;br&gt; &lt;br&gt;Exception information: &lt;br&gt; &amp;nbsp; &amp;nbsp;Exception type: TypeInitializationException &lt;br&gt; &amp;nbsp; &amp;nbsp;Exception message: The type initializer for 'Msdn.Web.UI.WebControls.ImageHipChallengeHandler' threw an exception. &lt;br&gt; &lt;br&gt;Request information: &lt;br&gt; &amp;nbsp; &amp;nbsp;Request URL: XXX&lt;br&gt; &amp;nbsp; &amp;nbsp;Request path: XXX&lt;br&gt; &amp;nbsp; &amp;nbsp;User host address: XXX&lt;br&gt; &amp;nbsp; &amp;nbsp;User: &amp;nbsp;&lt;br&gt; &amp;nbsp; &amp;nbsp;Is authenticated: False &lt;br&gt; &amp;nbsp; &amp;nbsp;Authentication Type: &amp;nbsp;&lt;br&gt; &amp;nbsp; &amp;nbsp;Thread account name: NT AUTHORITY\NETWORK SERVICE &lt;br&gt; &lt;br&gt;Thread information: &lt;br&gt; &amp;nbsp; &amp;nbsp;Thread ID: 5 &lt;br&gt; &amp;nbsp; &amp;nbsp;Thread account name: NT AUTHORITY\NETWORK SERVICE &lt;br&gt; &amp;nbsp; &amp;nbsp;Is impersonating: False &lt;br&gt; &amp;nbsp; &amp;nbsp;Stack trace: &lt;br&gt; &lt;br&gt; &lt;br&gt;Custom event details: &lt;br&gt;&lt;br&gt;For more information, see Help and Support Center at &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/a&gt;.&lt;br&gt;________________________________________&lt;br&gt;&lt;br&gt;&lt;br&gt;any help would be greatly appreciated!</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#597405</link><pubDate>Sun, 14 May 2006 16:54:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:597405</guid><dc:creator>toub</dc:creator><description>This is probably due to a font not being available. &amp;nbsp;If you look in the ImageHipChallengeHandler.cs file, at the end you'll see a static FontFamily member initialized to an array of fonts:&lt;br&gt;&lt;br&gt;private static FontFamily [] _families = { &lt;br&gt; &amp;nbsp; &amp;nbsp;new FontFamily(&amp;quot;Times New Roman&amp;quot;),&lt;br&gt; &amp;nbsp; &amp;nbsp;new FontFamily(&amp;quot;Georgia&amp;quot;),&lt;br&gt; &amp;nbsp; &amp;nbsp;new FontFamily(&amp;quot;Stencil&amp;quot;),&lt;br&gt; &amp;nbsp; &amp;nbsp;new FontFamily(&amp;quot;Comic Sans MS&amp;quot;)};&lt;br&gt;&lt;br&gt;If one of those fonts isn't available on this system, the type will fail to initialize, since this array construction is done as part of the type's .cctor. &amp;nbsp;Try removing the line:&lt;br&gt; &amp;nbsp; &amp;nbsp;new FontFamily(&amp;quot;Stencil&amp;quot;),&lt;br&gt;and see if that fixes things. &amp;nbsp;As long as there's at least one font in this array (and as long as all of the fonts in the array are present on the machine), it should work, so feel free to change the list to whatever suits you.</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#761141</link><pubDate>Mon, 18 Sep 2006 23:27:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:761141</guid><dc:creator>Dhruv</dc:creator><description>Is there a sample available on the steps on how to use this ? Being a beginner but like the concept making it difficult to implement.</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#1213852</link><pubDate>Tue, 05 Dec 2006 23:53:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1213852</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Hi Stephen,&lt;/p&gt;
&lt;p&gt;I'm trying to implement you're HIP validator in a solution, however it always throws an exception in the AudioHipChallengeHandler.SpeakToFile. &amp;nbsp;The particular offending line that throws the exception is &amp;quot;ISpeechObjectTokens voices = speech.GetVoices(string.Empty, string.Empty)&amp;quot;. &amp;nbsp;It throws an &amp;quot;Exception from HRESULT: 0x80045039&amp;quot;, which isn't very helpful. &amp;nbsp;I tried playing around with the SpVoice class, and I would get strange &amp;quot;Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))&amp;quot; exceptions. &amp;nbsp;I'm fairly confident that it's a configuration issue, however I don't know what I have done wrong. &amp;nbsp;I'm developing in .Net 2, in VS8 on a Windows Server 2003 enviro. &amp;nbsp;NOTE: it's probably nothing, but I noticed that the &amp;nbsp;SpeechLib.dll version is 5.0, not the 5.1 and 5.3 that I've been seeing in my searches.&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#1214203</link><pubDate>Wed, 06 Dec 2006 00:44:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1214203</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Hi Stephen,&lt;/p&gt;
&lt;p&gt;Ok, I resolved the issues I was having in my previous post (ensure you're using the correct App pool with a user accout with sufficient privileges). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The new issue I'm having regarding this is that it creates a .wav file that is only 1k in size with no audio in it. &amp;nbsp;If anyone has any ideas how to resolve this, it would be greatly appreciated.&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#1293024</link><pubDate>Fri, 15 Dec 2006 13:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1293024</guid><dc:creator>Jonas</dc:creator><description>&lt;p&gt;Hi Stephen,&lt;/p&gt;
&lt;p&gt;Your HIP Challenge appears to work most of the time.. however occasionally the following code returns null into &amp;quot;string text&amp;quot; and there fore doesnt render a image. which seems to suggest the cache is not finding the ImageHipChallenge.ID_KEY&lt;/p&gt;
&lt;p&gt;this is the part of the code....&lt;/p&gt;
&lt;p&gt;string text = HipChallenge.GetChallengeText(new Guid(queryString[ImageHipChallenge.ID_KEY]));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (text != null)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// We successfully retrieved the information, so generate the image and send it to the client.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HttpResponse resp = context.Response;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resp.Clear();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resp.ContentType = &amp;quot;img/jpeg&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using (Bitmap bmp = GenerateImage(text, new Size(width, height)))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bmp.Save(resp.OutputStream, ImageFormat.Jpeg);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;any ideas on how to fix this??&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#1312658</link><pubDate>Sun, 17 Dec 2006 22:57:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1312658</guid><dc:creator>toub</dc:creator><description>&lt;p&gt;If the cache is being cleared, there could be several factors. &amp;nbsp;For example, memory pressure could cause resources stored in the cache to be evicted. &amp;nbsp;Or if the ASP.NET AppDomain hosting this site restarts for some reason (due to health monitoring, a change to a dependent file, etc.), the cache would also be cleared. &amp;nbsp;I'd check for signs of any of those.&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#2862584</link><pubDate>Fri, 25 May 2007 09:33:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2862584</guid><dc:creator>Ramesh</dc:creator><description>&lt;p&gt;I am getting error ,font famally not found please any one can send the source code for it&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#2862693</link><pubDate>Fri, 25 May 2007 09:37:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2862693</guid><dc:creator>Shivakumar</dc:creator><description>&lt;p&gt;where is this file ImageHipChallenge.aspx,we need to create this file ?i am not understanding&lt;/p&gt;
&lt;p&gt;if u got then send the file&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#3663848</link><pubDate>Mon, 02 Jul 2007 23:55:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3663848</guid><dc:creator>leo</dc:creator><description>&lt;p&gt;Can you guys post the aspx page here? Thanks&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#3812299</link><pubDate>Wed, 11 Jul 2007 13:03:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3812299</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;i am not getting &amp;nbsp;ImageHipChallenge1.Words ...where to add words?&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#8438346</link><pubDate>Tue, 29 Apr 2008 19:56:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8438346</guid><dc:creator>P.Romero</dc:creator><description>&lt;p&gt;Hi there, Ive been having problems with the Words property. The get/set statements dont seem to work as you would expect. is the following correct?&lt;/p&gt;
&lt;p&gt;		[EditorBrowsable(EditorBrowsableState.Always)]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Editor(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;System.Windows.Forms.Design.StringCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;System.Drawing.Design.UITypeEditor,System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)] &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public StringCollection Words&lt;/p&gt;
&lt;p&gt;		{&lt;/p&gt;
&lt;p&gt;			get&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;				if (_words == null) _words = new StringCollection();&lt;/p&gt;
&lt;p&gt;				return _words;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_words = value;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;		}&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#8438416</link><pubDate>Tue, 29 Apr 2008 20:26:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8438416</guid><dc:creator>P.Romero</dc:creator><description>&lt;p&gt;plugging the above code into the solution produces a stringcollection editor within the designer that apparently works. However, the words colletction doesnt seem to ever get initialized, and throws the &amp;quot;no words available&amp;quot; exception at runtime. &lt;/p&gt;
&lt;p&gt;I know that its very bad practice to try to populate the words collection through the control properties at design-time, but I want to get it to work more as an academic exercise, and Im completely stuck as to why the Words colletction isnt being populated by the stringCollection editor.&lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#9013211</link><pubDate>Thu, 23 Oct 2008 19:00:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013211</guid><dc:creator>G.Magee</dc:creator><description>&lt;p&gt;I'm not receiving any errors. &amp;nbsp;However, the image is not showing for me at all. &amp;nbsp;I'm able to validate that the word that I set is validated, but the image is never displayed. &amp;nbsp;Can someone please let me know what might be causing this problem?&lt;/p&gt;
&lt;p&gt;Thanx &lt;/p&gt;
</description></item><item><title>re: An ASP.NET Framework for Human Interactive Proofs</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#9300316</link><pubDate>Fri, 09 Jan 2009 00:23:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9300316</guid><dc:creator>Drfunkie</dc:creator><description>&lt;p&gt;Just use a huge ditionary file Huge.txt and randomly add a word to the imagehip collection.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt; Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'get the LotsofWords.txt file and parse it into an array collection&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim intWords As Integer&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim objReader As New StreamReader(Server.MapPath(&amp;quot;~/LotsofWords.txt&amp;quot;))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim sLine As String = &amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim arrText As New ArrayList&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim intItem As Integer = 0&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Do&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sLine = objReader.ReadLine()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If Not sLine Is Nothing Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arrText.Add(sLine)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Loop Until sLine Is Nothing&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch ex As Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Finally&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;objReader.Close()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try&lt;/p&gt;
&lt;p&gt;'Shake and Bake it baby!!&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arrText.Sort()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arrText.Reverse()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;intWords = GetRandomNumber(0, 936)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strItem As String = Nothing&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strItem = arrText(intWords).ToString()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch ext As Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strItem = arrText(5).ToString()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Finally&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'add the arrtext to the hip challanger&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ImageHipChallenge1.Words.Add(strItem)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'create the random object constructor using the datetime seconds&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim objRandom As New System.Random(CType(System.DateTime.Now.Ticks Mod System.Int32.MaxValue, Integer))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Public Function GetRandomNumber(Optional ByVal Low As Integer = 1, Optional ByVal High As Integer = 100) As Integer&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' Returns a random number,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' between the optional Low and High parameters&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Return objRandom.Next(Low, High + 1)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Function&lt;/p&gt;
</description></item><item><title> Stephen Toub An ASP NET Framework for Human Interactive Proofs | Joint Pain Relief</title><link>http://blogs.msdn.com/toub/archive/2004/09/23/233607.aspx#9718803</link><pubDate>Wed, 10 Jun 2009 02:56:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9718803</guid><dc:creator> Stephen Toub An ASP NET Framework for Human Interactive Proofs | Joint Pain Relief</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://jointpainreliefs.info/story.php?id=1100"&gt;http://jointpainreliefs.info/story.php?id=1100&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>