Search found 4 matches
- Thu Jul 17, 2014 3:27 pm
- Forum: VCL Scheduling Agent
- Topic: Invisible tasks!?
- Replies: 1
- Views: 38489
Invisible tasks!?
We have run into a scenario where we found a user can try to add a task but does something that causes an error. The task *IS* created but we cannot see it anywhere! We can't find it in the Windows task scheduler. If we restart the app and try to add a new task with the same name as the original it ...
- Wed Apr 18, 2012 3:53 pm
- Forum: VCL Scheduling Agent
- Topic: Interface not supported error
- Replies: 2
- Views: 42323
Figured out issue
OK, I finally figured out the problem. Our old program did not specifically set the UseTaskScheduler1Only variable to TRUE and because of that we were trying to update tasks with Vista style tasks when the tasks were not originally set up to be that style. Setting this variable to TRUE causes the co...
- Wed Apr 18, 2012 2:25 pm
- Forum: VCL Scheduling Agent
- Topic: Interface not supported error
- Replies: 2
- Views: 42323
Followup
I have tracked the specific error to this line (and the similar line in all the SetTrigger procedures) in the saTask.pas file:
iWeek := FInterfaceVista as IWeeklyTrigger;
I still have no idea why this works in the Demo app and not our app.
iWeek := FInterfaceVista as IWeeklyTrigger;
I still have no idea why this works in the Demo app and not our app.
- Wed Apr 18, 2012 12:52 pm
- Forum: VCL Scheduling Agent
- Topic: Interface not supported error
- Replies: 2
- Views: 42323
Interface not supported error
Hello, Trying to update an app from the old version of VCL Scheduling Agent to version 2.0.7. We use code VERY similar to the sample TTaskWizard.pas. In the TNewTaskWizard.GoForward procedure when we get to these lines: Trigger.Details := TriggerDetails; FTask.Triggers.UpdateTriggers; The program er...