Thanks,
Curently now I work with pure OleObject from your example.
I have edited taskschd.dll file and found all methods related for TaskSchreduler class.It is performed for C++ but as you say it can be used in late binding like in VB style.
If I make reference:
registeredTask := TaskFolderCollection.Item[3];
Then can use
ShowMessage(registeredTask.path); // to see path
registeredTask.Run(NULL); // to run task
rootFolder.DeleteTask(registeredTask.Name, 0); // to delete task
And this is a curently working code,I try to figure enumerated tasks
for i := 1 to numberOfTasks do
begin
Memo1.Lines.Add(TaskCollection.Item[i].Name);
Memo1.Lines.Add(TaskCollection.Item[i].NextRunTime);
..etc..
The Idea is to set tasks into stringgrid and then to make reference between rootfolder enumerated tasks and stringgrid,to can use task index selection for current task and modify task.
I think that it is more simpler for me than interfaced object.
If you have some more sugestion go agead and tell I would like to figure out interface method
but it early binding style