SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
SiComponents Forums Forum Index
Author Message
  Topic: Problem in Enable/Disable a Task
partha

Replies: 6
Views: 12989

PostForum: VCL Scheduling Agent   Posted: Thu May 12, 2005 7:00 am   Subject: Problem in Enable/Disable a Task
Thanks, it solves this. Smile
  Topic: Problem in Enable/Disable a Task
partha

Replies: 6
Views: 12989

PostForum: VCL Scheduling Agent   Posted: Thu May 12, 2005 4:45 am   Subject: Problem in Enable/Disable a Task
I check directly in windows scheduler. Also with,
Task.EditWorkItem
  Topic: Problem in Enable/Disable a Task
partha

Replies: 6
Views: 12989

PostForum: VCL Scheduling Agent   Posted: Thu May 12, 2005 3:25 am   Subject: Problem in Enable/Disable a Task
I tried both

Task.Deactivate(True);
and
Task.Save;

None of them work. I do not get an error but the status is not updated.

I am not displaying it to any control so I do not need a refresh ...
  Topic: Problem in Enable/Disable a Task
partha

Replies: 6
Views: 12989

PostForum: VCL Scheduling Agent   Posted: Wed May 11, 2005 3:33 pm   Subject: Problem in Enable/Disable a Task
Hello,

I am having problem in enabling/disabling a task. I am using the folowing code but the changes are not getting saved:

var
Index : Integer;
Task: TTaskItem;
begin
for Index := 0 ...
  Topic: Error Modifying Trigger Type
partha

Replies: 1
Views: 7572

PostForum: VCL Scheduling Agent   Posted: Tue May 10, 2005 6:50 am   Subject: Error Modifying Trigger Type
Hello,

I am using the following code with D7:

Task.Activate;
with Task.Triggers.Add do begin
TriggerType := ttDaily; // adding this line produces the error
BeginDate := ...;
EndDate := ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by p h p B B  © 2001, 2005 p h p B B  Group