Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: On Error Resume Next in VBScript [97]

0
0
I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error Resume Next and simply crashes out, throwing an error.

Is there a way to have ClearScript honor this error handling or something I can do to prevent it from crashing?
Comments: I am adding a global script object that contains a property reference to Excel: Public Property ExcelApplication() As Microsoft.Office.Interop.Excel.Application Get Return _excelApplication End Get Friend Set(value As Microsoft.Office.Interop.Excel.Application) _excelApplication = value End Set End Property

Viewing all articles
Browse latest Browse all 2297