Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asynchronous OLE
Message
From
23/06/1999 09:37:40
 
 
To
23/06/1999 07:42:05
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00232124
Message ID:
00232945
Views:
15
>I've ended up with two classes, one is the UI element, which I call a Job Controller. The other is a COM class, which I call just a Job class. The COM class has methods such as "SetupJob", "StartJob" and "CancelJob". The UI Class has a start button, a cancel button, a list to display results, and a couple of properties to tell it which COM server to call. It's also got a parameters array that gets passed in SetupJob (if necessary for that job).
>

BTW: The March 99 FoxTalk had an article about this topic... If I remember correctly they used a Timer...

I think though, now that we have VFPCOM.DLL to bind events, the MSMQ might be more workable thing to look at. You can not only have the server pass results via MSMQ, but you could also have the server check for messages from the client to cancel it's job.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform