"UseTaskScheduler1Only" in Object Inspector

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
fuwafunghk
Posts: 25
Joined: Sat Jul 14, 2007 1:28 am

"UseTaskScheduler1Only" in Object Inspector

Post by fuwafunghk »

Hi,

I have downloaded the version 2.0.0.3 . I have set this option to "False" and I run my application under my vista. But when I clicked the next button of "weekdays(Weekly or bi-weekly)-choosing page"(I modified the taskwizard.pas and fixed FTask.Trigger.Add(FTrigger) ), it showed me an error dialog with message "Interface not supported."

But when I set this option to "True". My application went okay under vista without any problem and also the taskscheduler had done its work. So, do we need to modify much code to use the VistaScheduler function? Can VCL Scheduling Agent 2.x hide the "mechanism" of "programming a scheduling function" to the easiest way(like "IF OS >= Vista THEN Use Scheduler 2.0 function ELSE Use Scheduler 1.x")?

Thanks for your kindly attention and your effort on VCL Scheduling Agent.

Best regards,
Fuwa Fung.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

like "IF OS >= Vista THEN Use Scheduler 2.0 function ELSE Use Scheduler 1.x")?
This is exactly how it works. And UseTaskScheduler1Only property designed in order to provide you with the ability to still use Scheduler 1.x under Vista.
Best regards,
Igor Siticov.
Post Reply