Try the following link. I havent had a go at it myself but there seems to be some useful information there.
http://www.programmersresource.com/tips/tip108.asp You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.