Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

14 Dec 2006

Helper methods for DateTime

Here are a couple of methods that help you with the manipulation of DateTime structs: Code: csharp/DateTimeHelpers.txt
13 Dec 2006

What goes up must come down...

What goes up must come down… So you might think that after each CellMouseDown event you recieve a CellMouseUp eve...
25 Nov 2006

Master-Slave for databound ComboBoxes

In most examples on the Internet you’ll find that the Master has a property that returns the allowed Slaves. Here&...
23 Nov 2006

A better look at the Foreach statement

Earlier this week i was a bit surprised that the following code compiled without errors or warning messages. I expected ...
04 Nov 2006

Querying Active Directory

A while ago i wanted to figure out which demo accounts i had already created in my Active Directory. Since i was smart e...
23 Oct 2006

Using a collection as parameter for a stored procedure

Sometimes you want to select rows where a value is in a specific collection. Here’s an example that show how you c...
22 Oct 2006

Searching made easy

Very often i have to write queries that return all the rows where one or more columns match a specific value. If i add f...
12 Oct 2006

Updating the Internet Options / Lan Settings

A while ago i wrote that i had created two .reg files to update my Internet Options / Lan Settings (Automating the confi...
08 Oct 2006

Screenshot of DataGridViews

The problem with a regular screenshot is that you only get to see a part of the DataGridViews. Here’s an example o...
04 Oct 2006

Accessing ConnectionStrings from App.config in a Console Application Project

Earlier today i added a configuration file to my Console Applicaton Project (Add Item -> Application Configuration Fi...