B2020-055 – When Microsoft Edge is the default PDF viewer and you do a merge print, PROMS would exit with a null reference error but the PDF will still be displayed in Microsoft Edge. We now handle the null reference. We suspect that it’s because the version of .Net is pre-Microsoft Edge and does not recognize that app.
This commit is contained in:
parent
2e71c66183
commit
72be053111
@ -1135,6 +1135,7 @@ namespace VEPROMS
|
||||
if (_MergedPfd.MergedPdfs != null && _MergedPfd.MergedPdfs.Count > 0)
|
||||
{
|
||||
System.Diagnostics.Process sdp = System.Diagnostics.Process.Start(_MergedPfd.MergedFileName);
|
||||
if (sdp != null) // B2020-055 if the current .NET version does not recognize the program used to display the PDF, it will return a NULL (ex. Microsoft Edge)
|
||||
sdp.WaitForInputIdle();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user