Monthly Archives: August 2013

Writing your first NHibernate Application

This tutorial writing your first nhibernate is a good tutorial but it misses out certain steps. Here are the missing steps. 1. In shareLib folder, copy Nhibernate (download first) and NUnit(download first). Then add references to nhibernate.dll and nunit.framework.dll to … Continue reading

Posted in Uncategorized | Leave a comment

Error loading player: Offline playback not supported : JWPlayer

Funny I did not get this error on my local html file with jw player, but when I copied it to another server, I got this error. I copied the whole directory so there wasn’t anything missing. I coped that … Continue reading

Posted in Software Development, Troubeleshoot | Leave a comment

How to add Local Database to Visual Studio 2012 Express Project

If you try to click on project and select add, the option for local database does not appear. To add local database, select View > Database Explorer. Then right click on database and click add. This allows you to add … Continue reading

Posted in Software Development | Leave a comment

Spring.NET XML Configuration File

A sample Spring.net configuration file looks like this <?xml version=”1.0″ encoding=”utf-8″ ?> <object id=”Pen” type=”Spring4.Pen, Spring4″ /> <object id=”Pencil” type=”Spring4.Pencil, Spring4″ /> </objects> Lets decompose it It must start with <?xml version=”1.0″ encoding=”utf-8″ ?> because it is a standard xml file. … Continue reading

Posted in Software Development | Leave a comment

Spring.NET Constructor Injection Example

The following Console Application (C#) represents Constructor injection using Spring.NET. To use the code in as it is form, create a console application using C# in Visual Studio 2012 and name it Spring4. Copy the content of program file from … Continue reading

Posted in Software Development | Tagged , , , | Leave a comment

Conditional Formatting in Excel – One column based on another

[table] Match1, Match2 A, B D, A E, E F, D K, K [/table] Rule: COUNTIF($B$2:$B$6,C2) Read: If cell c2 value exists in the range B2:B6, then highlight the cells that I have selected in step 1. The above will … Continue reading

Posted in Tutorials/Tips | Tagged , | 1 Comment

Date Calculator

This is a simple data calculator between two dates. Start Date (mm-dd-yyyy): End Date (mm-dd-yyyy): [date_difference]

Posted in Software Development | Leave a comment