Archive for the ‘New Posts’ Category

Cannot Drag Attachments to a Reply in Outlook

The first thing to check is the reply email Format Text is HTML and NOT Rich Text (or Plain Text). Seems obvious but, as fate would have it, the issue started when I moved to a new PC – causing me to look for a more technical solution.

Categories: New Posts

The Six Phases of a Software Project

Love this – because I can imagine it happening!

1. Enthusiasm
2. Disillusionment
3. Panic
4. Search for the guilty
5. Punishment of the innocent
6. Praise and honours for the non participants

Getting involved in your customers business makes it easier to stay on phase 1.

Categories: New Posts

AjaxToolkit CalendarExtender hidden under a div

September 18, 2009 Leave a comment

If your CalendarExtender is half hidden by divs you should be able to fix it by one or both of these solutions:

In the css, give it a high z-index:


Make the div position absolute:

<div style="position:absolute;height:auto">
<div id="requiredBlockCompletedDate" runat="server" />
<asp:TextBox ID="txtCompletedDate" runat="server" CausesValidation="True" MaxLength="10" Text='blah'></asp:TextBox>
<asp:ImageButton ID="imgCompletedDate" runat="server" OnClientClick="javascript:return false;" SkinID="CalendarImageButton" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" CssClass="ajaxToolkit-CalendarExtender" Format="dd/MM/yyyy" PopupButtonID="imgCompletedDate" TargetControlID="txtCompletedDate">

Categories: New Posts

Dependency Injection or Inversion of Control (IoC)

These phrases popped up during TechEd so I scrambled to verify it was what I thought it was .. and it wasn’t.

To recognise DI, look for an interface being passed into a class constructor or, alternatively, an interface being passed to a class properties set. The primary objective here is to provide loose coupling by using interfaces. We can use a referenced object in our class only knowing that it has an interface.

Categories: New Posts


I once worked in a corporate environment where three letter abbreviations were used as a mechanism to confuse management. The EDP (Electronic Data Processing) department went on and on about IPLing. Whatever it was, an IPL seemed to fix everything – these guys were obviously genuises. I desparately needed to know so I could do it too! Disappointed I was when I found it to be Initial Program Load (or a common reboot in PC talk).

ETL is something everyone seems to know about, do in their spare time and think nothing of it. So Extract, Transform, and Load is all about updating your local database with data collected from somewhere else. How come it has taken me 30 years in the game to know this? – and what else don’t I know?

To make matters worse, 30 years later the TLA has extended to the FLA (or 4LA if you want to really impress) and beyond ..

BTW – I have had it pointed out that candid confessions of ignorance like this can be career limiting. I am not bothered by this, but if you are, please continue to nod knowingly when someone throws the next TLA at you.

Categories: New Posts

USB Drives Letters

My USB flash drive went AWOL after I added a new USB hard drive.

When a USB drive is first attached, Windows allocates it the first available drive letter even if the letter is an existing network share. This is because XP network shares are specific to the current user and not visible in the context of the system where the letter is assigned. The USB drive then appears to be invisible.

The resolution is to give the flash drive a new drive letter i.e.

1. Right click My Computer then Manage
2. Select Disk Management
3. Right click on the troublesome USB disk
4. Use Change Drive Letter and Paths to give it a new drive letter

If you are still getting grief have a look here for a tool to help you manage your USB drive allocations.

And one more thing since I first posted this .. there is a limitation to what drive letter you can assign a USB drive to … its around F(ish).

Categories: New Posts, Ramblings

Is this C# object a collection?

Courtesy of Daniel and Paul and the other guy (wotzisnameagin)

if (e.ReturnValue is System.Collections.ICollection)
//The return value is a collection, invoke the Count property to get the number of items.
System.Collections.ICollection collection = e.ReturnValue as System.Collections.ICollection;
RecordsCount = collection.Count;

More here

Categories: New Posts