Use a if/else and catch errors from specifc to generic. The last just catches an Exception, then throws it.
>Thanks Craig. By I was not worried about trapping this particular error, but rather any error that might occur that I did not know about.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer