Thanks! I was wondering how I could do this in C# after created an old example in Visual Basic 6.0 years ago.