'TaskScheduler' - https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
'DeleteFolder' - https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx


This creates a folder in 'TaskScheduler':
Please Login or Register  to view this content.
This deletes the folder:
Please Login or Register  to view this content.
But without the 'On Error Resume Next', it gets this error(but still deletes the folder):
WithoutOnErrorResumeNext.jpg
This:
Please Login or Register  to view this content.
Makes 'TaskSched.GetFolder("\").DeleteFolder("NewFolder", 0)' turn red, and gives this error:
NoSetEquals.jpg
Replacing 'Object' with 'ITaskService':
Please Login or Register  to view this content.
Results in this error, while '.DeleteFolder' gets selected/highlighted:
ITaskService.jpg