Search found 3 matches
- 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: 16672
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...
- Wed Apr 21, 2010 12:09 pm
- Forum: VCL Scheduling Agent
- Topic: Error: Task is not activated
- Replies: 2
- Views: 13449
- Tue Apr 20, 2010 12:48 pm
- Forum: VCL Scheduling Agent
- Topic: Error: Task is not activated
- Replies: 2
- Views: 13449
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...