This is a VB routine that does what you need.
This might be helpful also:
This appears to work as well.
(It's written in VB6, but can be converted to .NET pretty easily.)
Last Wiki Answer Submitted: August 1, 2008 8:33 pm by Flame14,895 pts.