<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>.Net Thoughts and Ideas</title>
  <link rel="alternate" type="text/html" href="http://xealcom.co.uk/" />
  <link rel="self" href="http://xealcom.co.uk/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-05-09T13:49:08.5591605+01:00</updated>
  <author>
    <name>Alex B. Clarke</name>
  </author>
  <subtitle>Place to share and reflect ...</subtitle>
  <id>http://xealcom.co.uk/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Page_Load Even Fired Twice in Google Chrome</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2010/05/09/PageLoadEvenFiredTwiceInGoogleChrome.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,bdfaa89e-fd52-4e9c-adbb-32be342f4e18.aspx</id>
    <published>2010-05-09T13:47:22.026+01:00</published>
    <updated>2010-05-09T13:49:08.5591605+01:00</updated>
    <category term="Client Side" label="Client Side" scheme="http://xealcom.co.uk/CategoryView,category,ClientSide.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I came across this issue on a fairly complex page - user controls added dynamically,
UpdatePanels, plenty of AJAX... etc.
</p>
        <p>
It was one of the suggestions from <a href="http://stackoverflow.com/questions/2009092/page-loads-twice-in-google-chrome" target="_blank">StackOverflow</a> that
helped me solve this problem. In my case additional Page events where firing twice
was due to black value for the "src" property of one of the "img"
elements in resulting HTML mark-up.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Network Authentication Level for RDP in XP SP3</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2010/04/01/NetworkAuthenticationLevelForRDPInXPSP3.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,c8954c44-5246-4278-9629-cfce25cfa4f3.aspx</id>
    <published>2010-04-01T20:47:32.265+01:00</published>
    <updated>2010-04-01T21:06:10.7563205+01:00</updated>
    <category term="SysAdmin" label="SysAdmin" scheme="http://xealcom.co.uk/CategoryView,category,SysAdmin.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">When you try to use RDP and get an error
saying that "Network Authentication Level  is not supported by your computer",
enable CredSSP by following this KB <a href="http://support.microsoft.com/kb/951608/">http://support.microsoft.com/kb/951608/</a><br /><br />
Thanks go to <a href="http://www.dslreports.com/profile/662411">SoonerAl</a> and his
post on <a href="http://www.dslreports.com/profile/662411">dslreports site</a> that
I hit when searching for a solution.<br /><p></p></div>
    </content>
  </entry>
  <entry>
    <title>Setting Up IIS on Windows 7</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2010/03/24/SettingUpIISOnWindows7.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,a6d5987d-14e3-4ffd-af87-7d5c3d9e94f7.aspx</id>
    <published>2010-03-24T20:58:03.028+00:00</published>
    <updated>2010-04-08T20:05:13.4539005+01:00</updated>
    <category term="IIS 7" label="IIS 7" scheme="http://xealcom.co.uk/CategoryView,category,IIS7.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">This is a "must-read" article that helped
me understand how to set directory permissions when using new "pass-through authentication" <a href="http://learn.iis.net/page.aspx/624/application-pool-identities/">Application
Pool Identities</a>.<br /><br />
The most important part from my point of view was finding the name of the account
used by an App Pool<br />
which is  - "<b>IIS AppPool\DefaultAppPool</b>".<br /><br />
You will need to change "DefaultAppPool" to the name of the appropriate application
pool.<br /><p></p></div>
    </content>
  </entry>
  <entry>
    <title>Windows 7 - Limit for Nonpaged Pool Allocations Error 2017</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2010/03/21/Windows7LimitForNonpagedPoolAllocationsError2017.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,4767c20f-4304-4c70-b06f-84fea533d4cc.aspx</id>
    <published>2010-03-21T20:05:28.983+00:00</published>
    <updated>2010-03-24T20:48:57.995243+00:00</updated>
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was syncing some data between my main machine Server 2003 x64 and Windows 7 x64
on my laptop using SyncBackSE. After the sync finished the log displayed plenty of
errors. I checked Windows 7 event log - quite a few errors 
</p>
        <p>
"The server was unable to allocate from the system nonpaged pool because the server
reached the configured limit for nonpaged pool allocations."
</p>
        <p>
SyncBackSE, the program I use, was just copying my Dev directory to Win 7 laptop,
yet Win 7 seemed to be "choking".
</p>
        <p>
A quick search brought me to a good post describing that Win 7 "needs to be told that
it can act as a server" by changing a Registry setting.
</p>
        <p>
          <a title="http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017" href="http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017">http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017</a>
        </p>
        <p>
I think the author was too nice ;) Win 7 acts as a server out of the box, after all
it allows you to share its resources. Perhaps in the pursuit for more "efficient"
OS, the OS vendor decided to reduce the amount of resources allocated to "real needs"
in favour of allocating them to "fancy things" like "aero desktop" and some media
features?
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Client Side Resources</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2010/03/21/ClientSideResources.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,43044a3e-928a-472b-9e14-ac3d1dc7bb64.aspx</id>
    <published>2010-03-21T12:02:20.72+00:00</published>
    <updated>2010-03-24T20:49:41.426057+00:00</updated>
    <category term="Client Side" label="Client Side" scheme="http://xealcom.co.uk/CategoryView,category,ClientSide.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Not in any specific order here's a collection
of web resources that I found useful when working on client side of Asp.Net applications 
<br /><br /><a href="http://weblogs.asp.net/bleroy/archive/2007/04/23/the-format-for-javascript-doc-comments.aspx">The
format for JavaScript doc comments</a><br /><br /><a href="http://blogs.msdn.com/webdevtools/archive/2007/11/06/jscript-intellisense-a-reference-for-the-reference-tag.aspx">JScript
IntelliSense: A Reference for the “Reference” Tag</a><br /><p><a href="http://plugins.jquery.com/project/json" target="_blank">JSON Plugin for jQuery</a></p><p><a href="http://blog.thinkature.com/index.php/2006/11/26/escaping-the-javascript-call-stack-with-settimeout/" target="_blank">Escaping
the JavaScript call stack with setTimeout</a></p></div>
    </content>
  </entry>
  <entry>
    <title>Client Side - Tips</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2009/02/28/ClientSideTips.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,de47de14-6ddf-4828-b064-bb9b2f159839.aspx</id>
    <published>2009-02-28T10:58:24+00:00</published>
    <updated>2010-03-21T13:28:06.5400405+00:00</updated>
    <category term="Client Side" label="Client Side" scheme="http://xealcom.co.uk/CategoryView,category,ClientSide.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>Validate Asp.Net Page from JavaScript</strong>
          <br />
Call Page_ClientValidate()<strong>, </strong>it returns TRUE if validators are happy,
false if not. Use it on client side to prevent javascript code from executing if ASP.Net
validators ring alarm bells. 
<br /><a href="http://www.codeproject.com/KB/aspnet/JavascriptValidation.aspx">http://www.codeproject.com/KB/aspnet/JavascriptValidation.aspx</a></p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>Firefox and onChange event</strong>
          <br />
First of all it is fired before keyUp or keyDown 
<br />
Secondly it's fired again when cursor leaves text area 
</p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>Firefox and Attributes.Add() Method </strong>
          <br />
In IE to retrieve a custom attribute added in Asp.Net using Control.Attributes.Add()
method, you call element.AttributeName or element['AttributeName']. 
<br />
In Fire Fox we have to use 
<br />
element.attributes['attributeName'].value or 
<br />
element.attributes.attributeName.value
</p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>Firefox Css Class Name for Disabled Elements</strong>
          <br />
You can use this class in your css file to alter the disabled elements appearance <code><br />
input[disabled], textarea[disabled], option[disabled], optgroup[disabled], select[disabled] 
<br />
{ 
<br />
  -moz-user-focus:ignore; 
<br />
  -moz-user-input:disabled; 
<br />
  background-color:threedface; 
<br />
  color:graytext; 
<br />
  cursor:inherit; 
<br />
} </code></p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>"This page displays secure and unsecure  content ..." Warning
in IE over SSL</strong>
          <br />
This can happen if, as in my case, there are relative paths to resources in client
script and your site is configured to use SSL. To solve this problem either use absolute
path starting with "https://" or move the paths to css. Neither FF no Safari
care about it.
</p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>Cell Border Does Not Show When Cell Is Empty - IE Bug Fix</strong>
          <br />
Apply the following style to the table 
<br />
style="empty-cells:show; border-collapse:collapse;"
</p>
        <p>
          <strong>
          </strong>
        </p>
        <p>
          <strong>How to get Text Value from Microsoft AutoCompleteExtender</strong>
          <br />
1. In the web method use the following method to create strings that will be returned
in the array 
<br />
AjaxControlToolkit.AutoCompleteExtender.CreateAutoCompleteItem(textToShow, valueForTheText
); 
<br />
2. In the AutoCompleteExtender assign event handler 
<br />
OnClientItemSelected="EventHadlerClientSideMethodName" 
<br />
3. In the event handler use the following method signature 
<br />
EventHadlerClientSideMethodName(source, eventArgs) 
<br />
4. Get text and value 
<br />
eventArgs._text 
<br />
eventArgs._value 
<br /><strong></strong></p>
        <p>
          <strong>IE8 will throw an error "Unterminated string constant"</strong>  
<br />
windows.setTimeOut method in IE8 will throw an error "Unterminated string constant"
if newLine  
<br />
carrigeReturn is present. Hence we explicitly replace them with terminating \n\r  
<br />
IE7, FF and Opera are all fine 
</p>
        <p>
          <em>Example</em> - cleaning currentTaskText 
<br />
var re = /\n/g; 
<br />
currentTaskText = currentTaskText.replace(re, '\\n'); 
<br />
re = /\r/g; 
<br />
currentTaskText = currentTaskText.replace(re, '\\r');
</p>
        <p>
          <strong>jQuery Intellisense in Visual Studio 2008</strong>
          <br />
1. Download the latest <a href="http://blogs.msdn.com/webdevtools/archive/2009/02/24/vsdoc-for-jquery-1-3-2-now-available.aspx" target="_blank">"jquery-1.3.2-vsdoc.js"</a><br />
2. Place it in a folder in your project. It does not matter if the project type is
"Web Site" or "Web Application" 
<br />
3. Open your javascript file, the one where you want jQuery intellisense enabled,
in VS2008 
<br />
4. Drag "jquery-1.3.2-vsdoc.js" file and drop it in VS Editor Window. This
will add a line of code similar to this one 
<br />
/// &lt;reference path="../jQuery/js/jquery-1.3.2-vsdoc.js" /&gt;
</p>
        <p>
          <em>IMPORTANT</em>
          <br />
The reference must be the very first line in the file. I had a comment before it and
the intellisense did not work and this kept me busy for a while, googling etc, with
no results, until I just thought about it. 
</p>
        <p>
Just found this great post about referencing other files in javascript files in VS2008 
<br /><a href="http://blogs.msdn.com/webdevtools/archive/2007/11/06/jscript-intellisense-a-reference-for-the-reference-tag.aspx" target="_blank">JScript
IntelliSense: A Reference for the “Reference” Tag</a><br />
It covers all possibilities of referencing.   
</p>
        <p>
          <strong>Storing JSON Object in an Elemet's Attribute 
<br /></strong>Writing JSON object to a newly-created attribute at the time the attribute
is created will not work. 
<br />
So this code is not going to write JSON object correctly, instead it will write a
string '[Object]' 
<br />
var myJsonObj = GetMyJsonObject(); 
<br />
$('#' + elemetId).attr('jsonObject', myJsonObj); 
<br />
Here's how you should do it 
<br />
1. Create an attribute and explicitly declares its initial value as an object 
<br />
$('#' + elemetId).attr('jsonObject', new Object);
</p>
        <p>
2. Get JSON object you want to store and write it to the newly created attribute 
<br />
var myJsonObj = GetMyJsonObject(); 
<br />
$('#' + elemetId).attr('jsonObject', myJsonObj);
</p>
        <p>
          <strong>Detecting Browsers Using CSS Style Sheet</strong>
          <br />
          <a title="http://www.sitepoint.com/forums/showthread.php?threadid=386094" href="http://www.sitepoint.com/forums/showthread.php?threadid=386094">http://www.sitepoint.com/forums/showthread.php?threadid=386094</a>
          <br />
&lt;style type="text/css"&gt; 
<br />
    head+/**/body{background:#ccffcc;}/*min-height browser but not
IE7*/ 
<br />
    /* mac hide \*/ 
<br />
    * html body{background:#ccffff;}/* IE&lt;7 */ 
<br />
    /* End hide */ 
<br />
    *+html body{background:#ffffcc;}/* IE&gt;6 */ 
<br />
    &lt;/style&gt;
</p>
        <p>
also 
<br />
&lt;!--[if IE 6]&gt; 
<br />
Do IE stuff 
<br />
&lt;![endif]--&gt;
</p>
        <p>
plus 
<br />
&lt;!-- for IE7 only --&gt; 
<br />
&lt;!--[if IE 7]&gt; 
<br />
&lt;link rel="stylesheet" type="text/css" href="/xtras/ie7only.css"
media="screen" /&gt; 
<br />
&lt;![endif]--&gt; 
<br />
&lt;!-- for IE6 only --&gt; 
<br />
&lt;!--[if IE 6]&gt; 
<br />
&lt;link rel="stylesheet" type="text/css" href="/xtras/ie6only.css"
media="screen" /&gt; 
<br />
&lt;![endif]--&gt; 
<br />
&lt;!-- for 5 &amp; 5.5 --&gt; 
<br />
&lt;!--[if lt IE 6]&gt; 
<br />
&lt;link rel="stylesheet" type="text/css" href="/xtras/old.css"
media="screen" /&gt; 
<br />
&lt;![endif]--&gt;
</p>
        <p>
to hide code 
<br />
&lt;!-- for everybody else except IE 5, 5.5 and 6 --&gt; 
<br />
&lt;!--[if !IE]&gt;--&gt; 
<br />
&lt;link rel="stylesheet" type="text/css" href="/xtras/new.css"
media="screen" /&gt; 
<br />
&lt;!--&lt;![endif]--&gt;
</p>
        <p>
          <br />
          <strong>Load JavaScripts Dynamically Using jQuery.getScript() 
<br /></strong>
        </p>
        <pre class="hl">
          <span class="hl kwa">function</span>
          <span class="hl kwd">button_click</span>
          <span class="hl sym">()
{</span>
          <span class="hl slc">// Check if method is defined</span>
          <span class="hl kwa">if</span>
          <span class="hl sym">(</span>
          <span class="hl kwa">typeof</span> DynFunction <span class="hl sym">===</span><span class="hl str">"undefined"</span><span class="hl sym">)
{</span><span class="hl slc">// Load script file where the method is defined</span><span class="hl kwa">var</span> req <span class="hl sym">=</span><span class="hl kwd">LoadMyScript</span><span class="hl sym">(</span><span class="hl str">'proj_scripts/dyn-loaded.js'</span><span class="hl sym">);</span><span class="hl slc">//
Check if loaded</span><span class="hl kwa">if</span><span class="hl sym">(</span>req<span class="hl sym">.</span>status <span class="hl sym">===</span><span class="hl num">200</span><span class="hl sym">)
{</span><span class="hl slc">// Call function from the loaded file</span><span class="hl kwd">DynFunction</span><span class="hl sym">();</span><span class="hl sym">}</span><span class="hl sym">}</span><span class="hl sym">}</span><span class="hl kwa">function</span><span class="hl kwd">LoadMyScript</span><span class="hl sym">(</span>scriptName<span class="hl sym">)
{</span><span class="hl slc">// Load synchronously to ensure that the file is fully
loaded</span><span class="hl slc">// before being used</span> $<span class="hl sym">.</span><span class="hl kwd">ajaxSetup</span><span class="hl sym">({</span> async<span class="hl sym">:</span><span class="hl kwa">false</span><span class="hl sym">});</span><span class="hl kwa">var</span> req <span class="hl sym">=</span> $<span class="hl sym">.</span><span class="hl kwd">getScript</span><span class="hl sym">(</span>scriptName<span class="hl sym">);</span><span class="hl slc">//
Revert back to async loading</span> $<span class="hl sym">.</span><span class="hl kwd">ajaxSetup</span><span class="hl sym">({</span> async<span class="hl sym">:</span><span class="hl kwa">true</span><span class="hl sym">});</span><span class="hl kwc">alert</span><span class="hl sym">(</span><span class="hl str">'status:
'</span><span class="hl sym">+</span> req<span class="hl sym">.</span>status <span class="hl sym">+</span><span class="hl str">'</span><span class="hl esc">\n\r</span><span class="hl str">statusText:
'</span><span class="hl sym">+</span> req<span class="hl sym">.</span>statusText<span class="hl sym">);</span><span class="hl kwa">return</span> req<span class="hl sym">;</span><span class="hl sym">}</span></pre>
        <p>
 
</p>
        <p>
          <strong>Reference jQuery in Master Page </strong>
        </p>
        <pre class="hl">
          <span class="hl sym">&lt;%--</span>Referencing javascript in a master
page maintaining intllisence<span class="hl sym">--%&gt;</span><span class="hl sym">&lt;%--</span>Notice <span class="hl str">'~'</span> sign
in the script reference<span class="hl sym">--%&gt;</span><span class="hl sym">&lt;%</span><span class="hl kwa">if</span><span class="hl sym">(</span><span class="hl kwa">false</span><span class="hl sym">)
{ %&gt;</span><span class="hl sym">&lt;</span>script src<span class="hl sym">=</span><span class="hl str">"~/jQuery/js/jquery-1.3.2.min.js"</span> type<span class="hl sym">=</span><span class="hl str">"text/javascript"</span><span class="hl sym">&gt;&lt;/</span>script<span class="hl sym">&gt;</span><span class="hl sym">&lt;%}
%&gt;</span><span class="hl sym">&lt;</span>script src<span class="hl sym">=&lt;%=</span><span class="hl kwd">ResolveUrl</span><span class="hl sym">(</span><span class="hl str">"~/jQuery/js/jquery-1.3.2.min.js"</span><span class="hl sym">)
%&gt;</span> type<span class="hl sym">=</span><span class="hl str">"text/javascript"</span><span class="hl sym">&gt;&lt;/</span>script<span class="hl sym">&gt;</span><span class="hl sym">&lt;%--</span>End<span class="hl sym">--%&gt;</span></pre>
      </div>
    </content>
  </entry>
  <entry>
    <title>List Of Asp.Net Resources</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2009/01/01/ListOfAspNetResources.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,175a7d01-f6f1-4bcd-8959-5afb1e5c4f38.aspx</id>
    <published>2009-01-01T10:26:54.84544+00:00</published>
    <updated>2009-01-01T20:19:08.45435+00:00</updated>
    <category term="Asp.Net" label="Asp.Net" scheme="http://xealcom.co.uk/CategoryView,category,AspNet.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Scott Guthrie put together a very extensive list of Asp.Net resources: 
<br /><a title="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx" href="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx" target="_blank">http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx</a></p>
        <p>
A step by step to how to move membership tables from MS SQL express Edition to your
database that you are used on your web site. The second part we will go in details
to configure our asp.net web site 
<br /><a title="http://www.c-sharpcorner.com/uploadfile/dsdaf/104012006083052am/1.aspx" href="http://www.c-sharpcorner.com/uploadfile/dsdaf/104012006083052am/1.aspx">http://www.c-sharpcorner.com/uploadfile/dsdaf/104012006083052am/1.aspx</a></p>
        <p>
Access Database Provider 
<br /><a title="http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx" href="http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx">http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Microsoft "How Do I Videos"</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2009/01/01/MicrosoftHowDoIVideos.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,4477ed59-6656-4d5b-bc21-eafd4fb9342f.aspx</id>
    <published>2009-01-01T10:14:39.59544+00:00</published>
    <updated>2009-01-01T10:14:39.59544+00:00</updated>
    <category term="Learn" label="Learn" scheme="http://xealcom.co.uk/CategoryView,category,Learn.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
A list of short videos on various aspects of dev work and technologies
</p>
        <p>
          <a title="http://msdn.microsoft.com/en-us/bb629407.aspx" href="http://msdn.microsoft.com/en-us/bb629407.aspx" target="_blank">http://msdn.microsoft.com/en-us/bb629407.aspx</a>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows Live Write on x64</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2008/11/27/WindowsLiveWriteOnX64.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,32e1ea81-bd9f-4837-bdd4-72976c67e969.aspx</id>
    <published>2008-11-27T22:46:43.6970474+00:00</published>
    <updated>2010-03-20T15:07:40.774744+00:00</updated>
    <category term="Main" label="Main" scheme="http://xealcom.co.uk/CategoryView,category,Main.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://windowscoding.com/blogs/blake/archive/2008/07/01/how-to-run-windows-live-software-on-64bit-windows.aspx" target="_blank">How
to install link</a>
        </p>
        <p>
Thanks to Windows Coding
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ListView Drag And Drop</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2008/09/03/ListViewDragAndDrop.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,ea53a3bf-69be-4efa-8048-2a9c14793b35.aspx</id>
    <published>2008-09-03T20:23:40.3879823+01:00</published>
    <updated>2008-09-13T19:59:50.0816935+01:00</updated>
    <category term="WinForms" label="WinForms" scheme="http://xealcom.co.uk/CategoryView,category,WinForms.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I've been working on implementing "drag-and-drop" functionality between
two ListView controls. There is a good sample on Microsoft Help and Support web site <a href="http://support.microsoft.com/kb/822483" target="_blank">"The
ListView control does not support drag-and-drop functionality for items at run time"</a> that
I used as a starting point.
</p>
        <p>
I have a basic model working just fine except for one thing. When ListViewItems are
to be moved (rather than copied), they should be removed from the "source"
ListView, however, the DragDrop event handler of the "destination" 
ListViewControl does not contain any reference to the "source".
</p>
        <p>
Tomorrow, I shall try to find a good solution for this problem.
</p>
        <p>
It's all done now and in production ;) When my current contract ends I will have more
time to describe the solution.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>VMware 6.0 on Linux Memory Allocation Issue</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2008/08/21/VMware60OnLinuxMemoryAllocationIssue.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,d92a4e7d-d575-4102-8dfe-ea895a8bd77f.aspx</id>
    <published>2008-08-21T20:40:49.8768464+01:00</published>
    <updated>2010-03-20T15:07:40.8216118+00:00</updated>
    <category term="Main" label="Main" scheme="http://xealcom.co.uk/CategoryView,category,Main.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
This is just a quick note to let you know that Linux version of VMware 6.0 will not
give you a warning message when you set a size of memory for a virtual machine higher
than what your host has installed.
</p>
        <p>
So, when you start that virtual machine 
</p>
        <ul>
          <li>
your host Linux OS will get hung</li>
          <li>
your vm will show "Unable to load profile ..." error (assuming it runs Windows
OS)</li>
          <li>
and you probably will have to "cold-boot" your box</li>
        </ul>
        <p>
What led me to this outrageous experiment was the fact that Gnome Monitor was not
showing reduction in RAM when I was running a virtual machine. Initially I thought
that VMware was not using the host's RAM at all creating a large page file instead.
So, I bumped up the vm RAM beyond the physical RAM on host and it soon showed up.
</p>
        <p>
Thanks for reading.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine</title>
    <link rel="alternate" type="text/html" href="http://xealcom.co.uk/2008/08/12/TheMicrosoftJetOLEDB40ProviderIsNotRegisteredOnTheLocalMachine.aspx" />
    <id>http://xealcom.co.uk/PermaLink,guid,3ebb8471-caed-4519-8049-1167e78b9cd9.aspx</id>
    <published>2008-08-12T19:53:12.9426982+01:00</published>
    <updated>2008-08-12T19:53:12.9426982+01:00</updated>
    <category term="ADO.Net" label="ADO.Net" scheme="http://xealcom.co.uk/CategoryView,category,ADONet.aspx" />
    <author>
      <name />
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I came across this problem when working with OLEDB provider in Visual Studio 2005.
I use 64-bit OS which was the reason for the error.
</p>
        <p>
Here's the error screen shot
</p>
        <p>
          <a href="http://xealcom.co.uk/content/binary/WindowsLiveWriter/The.0providerisnotregisteredonthelocalma_11A6D/JetProvRegErr_4.gif">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="238" alt="JetProvRegErr" src="http://xealcom.co.uk/content/binary/WindowsLiveWriter/The.0providerisnotregisteredonthelocalma_11A6D/JetProvRegErr_thumb_1.gif" width="409" border="0" />
          </a>
        </p>
        <p>
To resolve this issue, in project properties change "Platform Target" to
"x86"
</p>
        <p>
          <a href="http://xealcom.co.uk/content/binary/WindowsLiveWriter/The.0providerisnotregisteredonthelocalma_11A6D/JetProvRegErrFix_2.gif">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="65" alt="JetProvRegErrFix" src="http://xealcom.co.uk/content/binary/WindowsLiveWriter/The.0providerisnotregisteredonthelocalma_11A6D/JetProvRegErrFix_thumb.gif" width="131" border="0" />
          </a>
        </p>
      </div>
    </content>
  </entry>
</feed>