<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for From: Barnabas</title>
	<atom:link href="http://barnabas.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://barnabas.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 16 Oct 2007 11:39:39 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Top Mobile Sites by Rahul</title>
		<link>http://barnabas.wordpress.com/projects/top-mobile-sites/#comment-8372</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Tue, 16 Oct 2007 11:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://barnabas.wordpress.com/projects/top-mobile-sites/#comment-8372</guid>
		<description>hey,
 great list! been interested in mobile lately... seems there are loads of sites to visit! :)</description>
		<content:encoded><![CDATA[<p>hey,<br />
 great list! been interested in mobile lately&#8230; seems there are loads of sites to visit! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Top Mobile Sites by Sports Scores - PDAPhoneHome.com</title>
		<link>http://barnabas.wordpress.com/projects/top-mobile-sites/#comment-6960</link>
		<dc:creator>Sports Scores - PDAPhoneHome.com</dc:creator>
		<pubDate>Thu, 12 Jul 2007 03:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://barnabas.wordpress.com/projects/top-mobile-sites/#comment-6960</guid>
		<description>[...] user experience, not detract from it. I&#039;m sorry to hear that your experience has been the opposite. Here&#039;s a list of many of the mobile sites we silently redirect to on your behalf. I suspect that&#039;s not [...]</description>
		<content:encoded><![CDATA[<p>[...] user experience, not detract from it. I&#8217;m sorry to hear that your experience has been the opposite. Here&#8217;s a list of many of the mobile sites we silently redirect to on your behalf. I suspect that&#8217;s not [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IPToCountry.NET by George</title>
		<link>http://barnabas.wordpress.com/projects/iptocountrynet/#comment-301</link>
		<dc:creator>George</dc:creator>
		<pubDate>Fri, 10 Nov 2006 02:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://barnabas.wordpress.com/projects/iptocountrynet/#comment-301</guid>
		<description>Hi

I&#039;m a relative newbie in .NET so pardon my stupidity.

I&#039;m trying out your code and I&#039;m getting an error on the following line (***) in this function.

Public Shared Function GetCountryCode(ByVal IP As Long) As String

    ****    Dim Index As Integer = Array.BinarySearch(_Ranges, IP, New RangeFinder)****
        If Index &gt; -1 Then
            Return _Ranges(Index).Country
        End If
    End Function

It seems that _Ranges is nothing.

Here is what I&#039;ve done:
-----------------------------
Dim cc As New IPToCountry
    &#039;Dim ccode As String =     cc.GetCountryCode(&quot;216.104.194.173&quot;)
------------------------------  

Here is the error message:
---------------------------------
Value cannot be null. Parameter name: arrayHandleError at System.Array.BinarySearch(Array array, Object value, IComparer comparer) at magrosa.IPToCountry.GetCountryCode(Int64 IP) in c:\inetpub\wwwroot\magrosa\IpToCountry.vb:line 138 at magrosa.DBManager.PumpDbs() in c:\inetpub\wwwroot\magrosa\DBManager.vb:line 69 at magrosa.WebForm1.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\magrosa\index.aspx.vb:line 61 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
-----------------------

Can you help. I would like to use this functionality

Regards

George</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I&#8217;m a relative newbie in .NET so pardon my stupidity.</p>
<p>I&#8217;m trying out your code and I&#8217;m getting an error on the following line (***) in this function.</p>
<p>Public Shared Function GetCountryCode(ByVal IP As Long) As String</p>
<p>    ****    Dim Index As Integer = Array.BinarySearch(_Ranges, IP, New RangeFinder)****<br />
        If Index &gt; -1 Then<br />
            Return _Ranges(Index).Country<br />
        End If<br />
    End Function</p>
<p>It seems that _Ranges is nothing.</p>
<p>Here is what I&#8217;ve done:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Dim cc As New IPToCountry<br />
    &#8216;Dim ccode As String =     cc.GetCountryCode(&#8220;216.104.194.173&#8243;)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;  </p>
<p>Here is the error message:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Value cannot be null. Parameter name: arrayHandleError at System.Array.BinarySearch(Array array, Object value, IComparer comparer) at magrosa.IPToCountry.GetCountryCode(Int64 IP) in c:\inetpub\wwwroot\magrosa\IpToCountry.vb:line 138 at magrosa.DBManager.PumpDbs() in c:\inetpub\wwwroot\magrosa\DBManager.vb:line 69 at magrosa.WebForm1.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\magrosa\index.aspx.vb:line 61 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Can you help. I would like to use this functionality</p>
<p>Regards</p>
<p>George</p>
]]></content:encoded>
	</item>
</channel>
</rss>
