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 

Replacing an existing task on Windows 7

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



Joined: 27 Jan 2012
Posts: 10

PostPosted: Mon Feb 25, 2013 4:21 pm    Post subject: Replacing an existing task on Windows 7 Reply with quote

I have an issue with replacing an existing task on Windows 7, which can similarly be reproduced in the demo project. Steps:

- run the demo project
- create a new task
- save
- close the demo project
- run the demo project again
- create a task with the same name

At this point, the demo project asks if you want to replace the existing task. Click Yes.

- enter the required details
- on the page where you enter the user name and password, clicking Next results in the following error: (47, 7):Command:

On my application, I get an 'Invalid parameter' error when trying to save the new 'application exe file name' for the task that's replacing an existing task.

Any help would be much appreciated. I'm using Delphi 2009. Thanks in advance.
Back to top
View user's profile Send private message
rhett.price



Joined: 17 Jan 2014
Posts: 2

PostPosted: Wed Jan 22, 2014 11:28 pm    Post subject: Reply with quote

I'm getting the exact same issue. For now I'm working around it by always deleting/re-adding on an edit - however it would be really good to use the edit function. Anyone find out how to get this working yet? I can dup with the demo project so pretty sure it's not something I'm doing on my side. Thanks! - Rhett Price
Back to top
View user's profile Send private message
colinriley



Joined: 29 Sep 2014
Posts: 2

PostPosted: Tue Oct 14, 2014 11:05 am    Post subject: Reply with quote

I have a very similar problem. I have an existing task, and want to remove the existing trigger and replace it with a new one.
Creating a brand new task and adding a trigger to it works fine.
Taking an existing task, issuing a Triggers.Clear and adding a new trigger results in an exception (64,7):command.

I've asked on another post in this forum what these enigmatic exception codes mean, but have had no reply.

Does anybody from SiComponents read these posts?

Regards,
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Oct 15, 2014 12:27 pm    Post subject: Reply with quote

Yes, we read these posts. Unfortunately, these messages come from OS not from us and we were unable to find the reason for all of such enigmatic Smile codes. But we're still trying to figure out the reason for this.
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