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 

interview with anita

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



Joined: 01 May 2008
Posts: 2

PostPosted: Sat May 03, 2008 8:28 pm    Post subject: interview with anita Reply with quote

[]

Last edited by ylanchec on Tue Sep 07, 2010 4:27 am; edited 2 times in total
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sun May 04, 2008 6:14 am    Post subject: Reply with quote

Do you use \\ when passing the ComputerName?
The Demo project includes Target sample action. Does it work on your side?
Back to top
View user's profile Send private message
ylanchec



Joined: 01 May 2008
Posts: 2

PostPosted: Sun May 04, 2008 11:45 am    Post subject: Reply with quote

Hello, i havent used '\\computer' but 'computer' only, this last method works without UseTaskScheduler1Only, strange ....

So it works with '\\computer' ...thank you

Igor, another question, if i'm on a vista computer and i want to schedule a task on a remote xp ... so i write
Code:
Scheduler.TargetComputer:='\\xp-computer';


does the RunningVistaOrLater method takes care of the remote OS ?

to write a code that takes cares of the remote OS, what is the better solution ?

Thank you
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sun May 04, 2008 3:07 pm    Post subject: Reply with quote

Hello,

No, RunningVistaOrLater doesn't care about remote OS because when dealing with remote PC scheduler all calls are transmitted through the local service to remote.

Here some notes from MSDN:
If you are to connecting to a remote Windows Vista computer from a Windows Vista, you need to allow the Remote Scheduled Tasks Management firewall exception on the remote computer. To allow this exception click Start, Control Panel, Security, Allow a program through Windows Firewall, and then select the Remote Scheduled Tasks Management check box. Then click the Ok button in the Windows Firewall Settings dialog box.

If you are connecting to a remote Windows XP or Windows Server 2003 computer from a Windows Vista computer, you need to allow the File and Printer Sharing firewall exception on the remote computer. To allow this exception click Start, Control Panel, double-click Windows Firewall, select the Exceptions tab, and then select the File and Printer Sharing firewall exception. Then click the OK button in the Windows Firewall dialog box.
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