Added logic so that MSWord 2010 and beyond uses the internal export to PDF function.
Added logic to handle errors when a document is closed. The code will attempt to do a close 10 times. If it fails ten times, it will document the exception and continue. If an exception occurs when an MSWord section is being saved, a message will be displayed that will document the error.
This commit is contained in:
@@ -503,6 +503,7 @@ namespace Volian.Controls.Library
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (_MyLog.IsErrorEnabled) _MyLog.Error("SaveDSO", ex);
|
||||
MessageBox.Show(ex.Message, "Error Saving Document", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user