Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner COM question
Message
From
03/07/1999 10:52:33
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00233507
Message ID:
00237183
Views:
14
>I've seen plenty of examples of VFP developed COM components which simply return a value. That's straightforward. But how can I accomplish the following example?
>
>My VFP app calls an out of process COM component (developed in VFP6) which SCANs through a large table and does a bunch of processing. This will be time consuming, so I want to display a thermometer bar on the UI to show its progress for the end user. The COM component is out of process and I know that it cannot display any UI, so what's the best way to make the calling process provide a thermometer bar?
>
>Thanks in advance,
>John Tappero

You can pass your COM object a reference to a thermometer object in your calling app. Inside the COM server's loop, call THIS.oThermo.Update(RECNO(), RECCOUNT()) or whatever, and then let the thermomter object take care of the display.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform