Page 1 of 1

No error from .Save when task name is invalid

Posted: Sun May 30, 2004 9:50 am
by someguy
Tasks created with invalid characters, such as a colon, eg abc: def fail silently. The task never appears but no error is thrown.

Posted: Mon May 31, 2004 10:18 am
by isiticov
This looks like the task was deleted before calling ActivateTask() method. Please be sure to always use Refresh() method before accessing to any task, sicne this will quarantee you that TaskScheduler always has actual list of task items. Also you may set AutoRefresh to True and this should help.