Check here:
Source: http://www.a1vbcode.com/snippet-4400.asp
This is a VB routine that does what you need.
This might be helpful also:
http://www.a1vbcode.com/app-4005.asp
This appears to work as well.
http://www.vbexplorer.com/VBExplorer/tips/src36.asp
(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.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.