Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Task Scheduler
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00778674
Message ID:
00779398
Views:
24
>> Looks like there's a COM interface, but it's not avaiable as a IDispatch interface.
>
>Use early binding: ox=createobjectex("foo.class", "", "{IID}").
>
>There's also the command line "at" command.

Ok... so I played with this some more and I can get a reference to the scheduler with :
o = CREATEOBJECTEX("{148BD52A-A2AB-11CE-B11F-00AA00530503}","","{148BD527-A2AB-11CE-B11F-00AA00530503}")
But then any calls against this reference don't work. NewItem("TaskName") should create a new task and return an IUnknown style pointer. I suspect this doesn't work because in order for VFP to do something with it it has to be an IDispatch return pointer.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform