Search found 3 matches

by jeffreysadler
Wed May 05, 2010 12:34 pm
Forum: VCL Scheduling Agent
Topic: Deleting a task when finished under "Vista or Later&quo
Replies: 0
Views: 14257

Deleting a task when finished under "Vista or Later&quo

Hi, When I schedule a task on Windows XP I can set the flag tfDeleteWhenDone to delete the task when it finishes. However when scheduling a task under "Vista or Later" I don't have this option (don't appear in the Vista flags enumerated type). How can I set a task to be deleted when finish...
by jeffreysadler
Wed Apr 21, 2010 12:09 pm
Forum: VCL Scheduling Agent
Topic: Error: Task is not activated
Replies: 2
Views: 12663

I tried your suggested changes and it now works.

Thank you.
by jeffreysadler
Tue Apr 20, 2010 12:48 pm
Forum: VCL Scheduling Agent
Topic: Error: Task is not activated
Replies: 2
Views: 12663

Error: Task is not activated

Hi, I am running the code below on Windows 7 (built using Delphi 7) but get the error "Task 'Maximus_20100420223644' is not activated." when trying to execute line "Task.Flags := Task.Flags + [tfRunOnlyIfLoggedOn, tfDeleteWhenDone];". The code works fine on Windows XP but not Win...