<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://britishinside.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>Search results matching tags 'Technical', 'Bloggers', and 'Telligenti'</title><link>http://britishinside.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Technical,Bloggers,Telligenti&amp;orTags=0</link><description>Search results matching tags 'Technical', 'Bloggers', and 'Telligenti'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>JavaScript browser detection</title><link>http://britishinside.com/archive/2008/05/19/JavaScript-browser-detection.aspx</link><pubDate>Mon, 19 May 2008 13:12:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:30055</guid><dc:creator>James</dc:creator><description>
&lt;p&gt;Quick shout out to Peter-Paul Koch at QuirksMode.org for his very nice &lt;a href="http://www.quirksmode.org/js/detect.html"&gt;javascript browser detection&lt;/a&gt; script. &lt;/p&gt;
&lt;p&gt;Clever, and definately deserved more than a tweet. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>What he said</title><link>http://britishinside.com/archive/2008/03/31/What-he-said.aspx</link><pubDate>Mon, 31 Mar 2008 14:27:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:29881</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Rick Strahl: &lt;a href="http://west-wind.com/weblog/posts/295840.aspx"&gt;What can you keep in your Head?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;+1&lt;/p&gt;

&lt;p&gt;&lt;img src="http://britishinside.com/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>The Ghost in the machine</title><link>http://britishinside.com/archive/2008/03/26/The-Ghost-in-the-machine.aspx</link><pubDate>Wed, 26 Mar 2008 08:57:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:29116</guid><dc:creator>James</dc:creator><description>&lt;p&gt;I was having &lt;em&gt;loads&lt;/em&gt; of fun getting a &amp;quot;borrowed&amp;quot; web service running on the staging server yesterday.&lt;/p&gt;&lt;p&gt;As with all code that you take without asking, there are always.. shall we say, &amp;quot;hiccups&amp;quot;. Apparently every line in the web.config conflicted with the root web.config. And not in a nice way.&lt;/p&gt;&lt;p&gt;Hack. Slash. Keyword/Value pairs flying everywhere in a mad frenzy.&lt;br /&gt;&lt;br /&gt;Then, it worked!&amp;nbsp; w00t!&lt;/p&gt;&lt;p&gt;I clicked around the site checking it out, and then it stopped working.&lt;/p&gt;&lt;p&gt; YSOD. &lt;/p&gt;&lt;p&gt;Insufficient permission. ???&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I looked in IIS and there it was, no anonymous access to the web service folder. I was sure I&amp;#39;d set that. Oh well...&lt;/p&gt;&lt;p&gt;Sure enough it starts working again. A few pages later..you guessed it!&lt;/p&gt;&lt;p&gt;I check IIS. No anonymous access.&lt;/p&gt;&lt;p&gt;Now, I&amp;#39;m thinking should I google this bizarre behavior?&amp;nbsp; It&amp;#39;s almost like someone is on the server undoing my changes. &lt;/p&gt;&lt;p&gt;Check the calendar - nope, not April 1st yet. (although now I have some great ideas guys &lt;img src="http://britishinside.com/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Then I remember..I had put in a ticket to NetOps earlier in the day about this server. The ghost was &lt;a href="http://rick.reszler.org/"&gt;Rick&lt;/a&gt;, in there changing permissions to investigate. We were basically fighting over the permissions without realizing. &lt;img src="http://britishinside.com/emoticons/emotion-10.gif" alt="Embarrassed" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So, Rick, this morning I shall be fixing my permission problem again. Pleasedon&amp;#39;tundoitthankyouverymuch. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Reviewing my links</title><link>http://britishinside.com/archive/2008/03/07/Reviewing-my-links.aspx</link><pubDate>Fri, 07 Mar 2008 16:45:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:26866</guid><dc:creator>James</dc:creator><description>&lt;p&gt;I&amp;#39;m quite looking forward to reviewing links between my sites and others, and applying XFN&amp;#39;s rel=&amp;quot;me&amp;quot;, rel=&amp;quot;friend&amp;quot; etc. &lt;/p&gt;&lt;p&gt;Read more about &lt;a href="http://microformats.org/wiki/xfn"&gt;XFN&lt;/a&gt; and check out this &lt;a href="http://www.youtube.com/watch?v=LabCylbapuM"&gt;cool video from Google&lt;/a&gt; (via shoemoney).&lt;br /&gt;&lt;/p&gt;</description></item><item><title>The Deleting SVN Folders meme</title><link>http://britishinside.com/archive/2008/03/06/The-Deleting-SVN-Folders-meme.aspx</link><pubDate>Thu, 06 Mar 2008 11:24:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:26779</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Perhaps I should name 5 other people to modify this script when I&amp;#39;m done. &lt;img src="http://britishinside.com/emoticons/emotion-15.gif" alt="Geeked" /&gt;&lt;/p&gt;&lt;p&gt;First, it was &lt;a href="http://geekcowboy.com/blogs/archive/2007/01/06/powershell-vs-command-prompt-on-deleting-svn-directories.aspx"&gt;Wyatt&lt;/a&gt;, then &lt;a href="http://weblogs.asp.net/jgalloway/archive/2007/02/24/shell-command-remove-svn-folders.aspx"&gt;Jon&lt;/a&gt;, then &lt;a href="http://richmercer.com/blog/removing-svn-folders-from-a-directory-tree/"&gt;Rich&lt;/a&gt; - and probably many others. Well, it&amp;#39;s my turn dammit.&lt;/p&gt;&lt;p&gt;I keep getting code from contractors that have _svn folders in them - and the script I got from Jon only looks for the .svn that I use. &lt;/p&gt;&lt;p&gt;So here is the quick fix (emphasis on &lt;em&gt;quick&lt;/em&gt;)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#008080" face="Courier New" size="2"&gt;Windows Registry Editor Version 5.00 &lt;/font&gt; &lt;/p&gt;&lt;p&gt;&lt;font color="#008080" face="Courier New" size="2"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]&lt;br /&gt;@=&amp;quot;Delete SVN Folders&amp;quot; &lt;/font&gt; &lt;/p&gt;&lt;p&gt;&lt;font color="#008080" face="Courier New" size="2"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]&lt;br /&gt;@=&amp;quot;cmd.exe
/c \&amp;quot;TITLE Removing SVN Folders in %1 &amp;amp;&amp;amp; COLOR 9A &amp;amp;&amp;amp;
FOR /r \&amp;quot;%1\&amp;quot; %%f IN (.svn _svn) DO RD /s /q \&amp;quot;%%f\&amp;quot; \&amp;quot;&lt;/font&gt;&lt;font color="#008080" face="Courier New" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;My handy-dandy &lt;a href="http://britishinside.com/archive/2004/10/28/ObfuscationWeb.aspx"&gt;MS-DOS Encyclopedia&lt;/a&gt; came to the rescue with the syntax for the &amp;quot;set&amp;quot; part of the FOR statement. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Seems to work for me so far.. but I might be back to fix it later. Be warned &lt;img src="http://britishinside.com/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Wow, that's fast</title><link>http://britishinside.com/archive/2008/02/27/Wow_2C00_-that_2700_s-fast.aspx</link><pubDate>Wed, 27 Feb 2008 17:44:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:26162</guid><dc:creator>James</dc:creator><description>&lt;p&gt;I was just reading Jason Alexander&amp;#39;s new blog post about an old code drop for &lt;a href="http://jasona.net/downloads/authorize-net-c-implementation/"&gt;Authorize.net&lt;/a&gt; and was trying to find the old post he was referring to.&lt;/p&gt;&lt;p&gt;Obviously, I went to Google to find the old cache; &lt;a href="http://www.google.com/search?q=authorize.net+jason+alexander"&gt;http://www.google.com/search?q=authorize.net+jason+alexander&lt;/a&gt; &lt;/p&gt;&lt;p&gt;What amazed me was the first result - not the old one, but the post made 35 minutes ago!&lt;br /&gt;&lt;a href="http://jasona.net/downloads/authorize-net-c-implementation/"&gt;&lt;img border="0" src="http://britishinside.com/photos/postimages/images/26160/original.aspx" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Big surprise, you can't use Firefox</title><link>http://britishinside.com/archive/2008/01/25/Big-surprise_2C00_-MSFT-don_2700_t-support-Firefox.aspx</link><pubDate>Fri, 25 Jan 2008 18:50:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:23511</guid><dc:creator>James</dc:creator><description>&lt;p&gt;I went to renew my &lt;a href="http://partner.microsoft.com/"&gt;Microsoft Partner Program&lt;/a&gt; membership today before it runs out at the end of the month. For a few hundred bucks I get 10 copies of XP and Office to use around the house - there are other benefits, but that alone makes me renew each year. &lt;/p&gt;&lt;p&gt;This year, something is different. I&amp;#39;m now using FF as my default browser...&lt;/p&gt;&lt;p&gt;So when I click the renew link, I get a message saying that the LiveID that I&amp;#39;m signed in with doesn&amp;#39;t match my Partner account. Hmmm. So I try a few other combinations (but I only have one LiveID account, so kinda fruitless). Finally I get a page that says I should contact MSFT. I click the link, it says that I am using an unsupported browser for that page. Seriously, in 2008 we have to still play these games??&lt;/p&gt;&lt;p&gt;So, I open IE7 (see, it does have some use) and click the renew link as a quick way to get to the right part of the site - fully expecting to still have to contact support.&lt;/p&gt;&lt;p&gt;Guess what? Yeah. I *knew* you&amp;#39;d guess..&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.angrypets.com/"&gt;Mike&lt;/a&gt; knows the answer, don&amp;#39;t you Mike?&lt;/p&gt;&lt;p&gt;It said, &amp;quot;Hello James, thanks for renewing..etc, etc&amp;quot;. No problems with my LiveID at all.&lt;/p&gt;&lt;p&gt;Funny that.&amp;nbsp;&lt;img src="http://britishinside.com/emoticons/emotion-16.gif" alt="Zip it!" /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Sending people large files</title><link>http://britishinside.com/archive/2007/11/08/Sending-people-large-files.aspx</link><pubDate>Thu, 08 Nov 2007 11:08:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:16633</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Yeah, there are a million services out there that allow you to upload files and then you can tell someone where to download it. Most however, don&amp;#39;t get it. They are trying to cash in on it by making the pages complicated and asking too many questions.&lt;/p&gt;&lt;p&gt;Oh, and would you like a business registration? etc&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.senduit.com/"&gt;senduit&lt;/a&gt;&amp;nbsp;do it perfectly. You might not find them when you Google &amp;quot;file upload&amp;quot; (the vultures are all there, circling).&lt;/p&gt;&lt;p&gt;But next time someone&amp;#39;s email to you bounces with &amp;quot;message size exceeded&amp;quot;, send them to senduit. &lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div id="ms__id120"&gt;Browse for your file.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id="ms__id121"&gt;Hit Upload (a really LARGE button for end users to hit)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id="ms__id122"&gt;Click on email this link&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id="ms__id123"&gt;Enter email.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id="ms__id124"&gt;Done.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;It&amp;#39;s perfect. I bet this is even &lt;a href="http://simpable.com/tags/easy-things/"&gt;simpable&lt;/a&gt; (sic) enough for Scott. (Of course it is, I just realized that&amp;#39;s where I got the &lt;a href="http://simpable.com/technology/senduit/"&gt;original bookmark&lt;/a&gt; from!!)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Reading XLS spreadsheets from ASP.NET</title><link>http://britishinside.com/archive/2007/08/31/Reading-XLS-spreadsheets-from-ASP.NET.aspx</link><pubDate>Fri, 31 Aug 2007 20:01:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:13621</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Here&amp;#39;s a tip for when you need to read a spreadsheet from ASP.NET (well, .NET really). Thinking about it now I&amp;#39;m surprised that I haven&amp;#39;t needed to do this before.&lt;/p&gt;&lt;p&gt;The second or third article I found was John Kilgo&amp;#39;s &lt;strong&gt;&lt;a href="http://www.dotnetjohn.com/articles.aspx?articleid=54" target="_blank"&gt;Reading Excel (.xls) Files with ADO.NET...&lt;/a&gt;&lt;/strong&gt; and I admit I was sceptical when I read the method outlined there..but it works a treat. File this under &amp;quot;.NET voodoo&amp;quot;..&lt;/p&gt;&lt;p&gt;Simply put, you add a row of columns names and create a named range around that row plus the data that you want to import. Then you import it with this code...&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font size="2"&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font style="background-color:#ccffcc;"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; &lt;font color="#000000"&gt;connstr&lt;/font&gt; = @&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Provider=Microsoft.Jet.OleDb.4.0;data source=c:\my.xls&lt;/font&gt;&lt;font color="#800000" size="2"&gt;;Extended Properties=Excel 8.0;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font style="background-color:#ccffcc;"&gt;&lt;font size="2"&gt;;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;font size="2"&gt; sql = &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;SELECT TOP 10 * FROM namedrangename&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font style="background-color:#ccffcc;"&gt;;&amp;nbsp;&lt;/font&gt;&lt;font color="#009900" style="background-color:#ccffcc;"&gt; // or whatever you called the named range&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="background-color:#ccffcc;"&gt;OleDbConnection&lt;/font&gt;&lt;font style="background-color:#ccffcc;"&gt;&lt;font size="2"&gt; conn = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;OleDbConnection&lt;/font&gt;&lt;/font&gt;&lt;font style="background-color:#ccffcc;"&gt;&lt;font size="2"&gt;(&lt;font&gt;connstr&lt;/font&gt;);&lt;br /&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;OleDbCommand&lt;/font&gt;&lt;font size="2"&gt; cmd = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;OleDbCommand&lt;/font&gt;&lt;/font&gt;&lt;font size="2" style="background-color:#ccffcc;"&gt;(sql, conn);&lt;br /&gt;&lt;/font&gt;&lt;font size="2" style="background-color:#ccffcc;"&gt;conn.Open();&lt;br /&gt;something.DataSource = cmd.ExecuteReader();&lt;br /&gt;something.DataBind();&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;&lt;/font&gt;&lt;p&gt;&lt;font size="2"&gt;Not much is it? But I think it&amp;#39;s a pretty cool trick. Thanks John!&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Duck Typing</title><link>http://britishinside.com/archive/2007/08/23/Duck-Typing.aspx</link><pubDate>Thu, 23 Aug 2007 10:17:00 GMT</pubDate><guid isPermaLink="false">6c0ed236-b916-4a20-a8ea-4a10abe198d6:13401</guid><dc:creator>James</dc:creator><description>&lt;p&gt;The funny thing (I suppose I should be embarassed, but I&amp;#39;m not) about the recent post &amp;quot;&lt;a href="http://haacked.com/archive/2007/08/19/why-duck-typing-matters-to-c-developers.aspx" id="viewpost_ascx_TitleUrl" target="_blank"&gt;How Duck Typing Benefits C# Developers&lt;/a&gt;&amp;quot; is that I thought it was going to say that we should use &amp;quot;hunt and peck&amp;quot; typing instead of touch-typing. &lt;/p&gt;&lt;p&gt;&lt;img src="http://britishinside.com/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.discountasp.net/go/go.aspx?i=1744" target="CSexternal"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>