private bool ExtractAttachmentFile(string attachmentFileName, int attachmentNumber) { try { _codecs.ExtractAttachment(_fileName, attachmentNumber, attachmentFileName); return(true); } catch (Exception ex) { Messager.ShowError(this, ex); } return(false); }