try { //here comes your code which could raise a COMException } catch(COMException ex) { //do something useful with that Exception, //e.g. show a message to the user, and then clean-up }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)