For some reason loading this .TDR template sometimes, but not always, throws the bottom error on the command:
Call Report.LoadLayout("N:\TeamShares\Data\Software\DIAdem\DIAdem Scripts\NVH\Report Layouts\Twist_v180720_A.TDR")
Then throws the top error on the WndShow() command.
The report layout loads fine outside of the script. It also occasionally loads fine from within the script. I couldn't find much documentation in the way of what causes that particular error.