Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

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...
04 Oct 2006

From UnixTime to DateTime and back

Here are a couple of functions that allow you to convert from UnixTime to DateTime and back public class Util { private ...
18 Sep 2006

Code 39 barcodes recognizer

Earlier today i read Code 39 barcodes in C# by Bart De Smet. The article shows the reader how to generate a Code 39 barc...
16 Sep 2006

Anonymous methods

Suppose you add a couple of buttons to a panel as shown below. What do you think the message in the MessageBoxes will be...
16 Sep 2006

DataGridView with EditOnEnter as EditMode

Earlier this week i found that when a DataGridView has it’s EditMode property set to EditOnEnter the user cannot s...
16 Sep 2006

Drag and Drop on a DataGridView

Here is a bit of sample code that allows you to drag and drop a cellvalue in a DataGridView (don’t forget to set t...
16 Sep 2006

Inconsistent Drag and Drop API

Every System.Windows.Forms.Control has the following events public event DragEventHandler DragDrop public event DragEven...