Search found 11 matches

by chula
Mon Jan 05, 2009 10:58 am
Forum: VCL Scheduling Agent
Topic: saTask 2.0.1 ExitCode
Replies: 1
Views: 11453

saTask 2.0.1 ExitCode

Was upgrading my program containing saTask from 1.0.5 to 2.0.1.

When calling TTaskItem.Exit Code, it said Interface not suppoted. But the same code work properly for 1.0.5.

If I set TsaTask.UseTaskScheduler1Only := true, ExitCode works again.


Any idea?

Delphi 2009 + Vista
by chula
Wed Jan 02, 2008 4:42 am
Forum: VCL Scheduling Agent
Topic: Need help!!! Could not enable/disable a trigger/task
Replies: 2
Views: 12173

On XP, disable/enable really work.

But on Vista, disable/enable "only seems" working, Next Run says Never, Status says Disable. But the task really still run.

I have not test 2.0 yet cuz Demo 2.0 not working.
by chula
Wed Jan 02, 2008 3:36 am
Forum: VCL Scheduling Agent
Topic: Need help after updated to 2.0
Replies: 2
Views: 11231

I have just tested the 2.0 Demo on a XP computer.

When the demo just started, or when I click Quick Demos->Run notepad.exe everyday at 09:00, it said:

'Trigger not found'


:shock:
by chula
Wed Jan 02, 2008 3:09 am
Forum: VCL Scheduling Agent
Topic: Need help after updated to 2.0
Replies: 2
Views: 11231

Need help after updated to 2.0

First problem: I supposed 2.0 is backward compatible. After recompiled my application (with a fix for the TTriggers.Add), my application issue EOleException error when executed: Not enough storage is available to complete this operation It was generated when I just Open the TTaskScheduler without Ta...
by chula
Thu Nov 29, 2007 10:30 am
Forum: VCL Scheduling Agent
Topic: Is it security issue?
Replies: 4
Views: 13890

Found the reason. You are right, it was due to the security issue of Vista. On my Vista I kept the UAC (User Account Control) effective. Hence, for convenience, I ran my DBS2006 with Admin privilege. Therefore, my program running under IDE also has Admin privilege. This is why my runtime program cou...
by chula
Thu Nov 29, 2007 7:43 am
Forum: VCL Scheduling Agent
Topic: Need help!!! Could not enable/disable a trigger/task
Replies: 2
Views: 12173

Need help!!! Could not enable/disable a trigger/task

Any thing wrong with these codes? with TaskItem do begin Activate; If Triggers.Count> 0 then Triggers[0].Enabled := not Triggers[0].Enabled; Triggers.UpdateTriggers; Deactivate(true); end; Nothing changed to the task :shock: I also tried to add/remove tfDisabled flag of a taskitem to see if I could ...
by chula
Thu Nov 29, 2007 3:26 am
Forum: VCL Scheduling Agent
Topic: Immediately Run became Occassionally Run on Vista
Replies: 1
Views: 9397

Immediately Run became Occassionally Run on Vista

Just my investigation. On Vista, calling TTaskItem.Run could not guarantee successful running, sometime need twice or even more tries. But on XP, so far did "Immediately" run. :roll: However, using Vista built-in Scheduler did not have such issue. Any idea? BTW, when will version 2.0 be re...
by chula
Wed Nov 28, 2007 10:17 am
Forum: VCL Scheduling Agent
Topic: Is it security issue?
Replies: 4
Views: 13890

I now have a licensed VCL Sheduling Agent. But before I did install a trial version for evaluation, i.e. try before buy. Say, when inside BDS2006 IDE designtime, I run my "VCL Sheduling Agent"-enabled program and create 10 tasks. Then, closed the BDS2006 IDE, run the compiled program which...
by chula
Wed Nov 28, 2007 10:05 am
Forum: VCL Scheduling Agent
Topic: EConvertError when Triggers[].EndDate is zero
Replies: 2
Views: 10801

isiticov wrote:There is HasEndDate property to indicate is EndDate necessary or not.
Thanks!
by chula
Wed Nov 28, 2007 2:59 am
Forum: VCL Scheduling Agent
Topic: EConvertError when Triggers[].EndDate is zero
Replies: 2
Views: 10801

EConvertError when Triggers[].EndDate is zero

If there is no EndDate for a trigger, is the desired checking method:

if Triggers[].EndDate = 0 ??

The EConvertError was trapped in side the VCL, so I could not trap the convesion error.
by chula
Wed Nov 28, 2007 2:55 am
Forum: VCL Scheduling Agent
Topic: Is it security issue?
Replies: 4
Views: 13890

Is it security issue?

The tasks I created under IDE could not been seen at runtime. But, under IDE the VCL Scheduling Agent could see all tasks no matter created at runtime or under IDE. I created an local accout with admin rights for creating these tasks. Any idea please? VCL Scheduling Agent 1.0.5, BDS2006, Vista Ultim...