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 

No error from .Save when task name is invalid

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent
View previous topic :: View next topic  
Author Message
someguy



Joined: 30 May 2004
Posts: 6

PostPosted: Sun May 30, 2004 9:50 am    Post subject: No error from .Save when task name is invalid Reply with quote

Tasks created with invalid characters, such as a colon, eg abc: def fail silently. The task never appears but no error is thrown.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Mon May 31, 2004 10:18 am    Post subject: Reply with quote

This looks like the task was deleted before calling ActivateTask() method. Please be sure to always use Refresh() method before accessing to any task, sicne this will quarantee you that TaskScheduler always has actual list of task items. Also you may set AutoRefresh to True and this should help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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