Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper cleanup
Message
From
14/02/2002 12:14:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00620112
Message ID:
00620131
Views:
15
>Hi everybody,
>
>Here is a problem:
>
>Class (or program) does some long process (Excel automation), but does not use any VFP specific loop construction. This class (program) shows an animation (using animation class), so user can at least be enterteined by this. However, some users (which are impatient, as I'm) could be tired of waitng and want to stop this long process right away. So, the problem is: how can we stop the process and return control to the main program, which invoked this long process program?
>
>What could be your ideas?
>
>Thanks a lot in advance.

How about creating a separate, small, EXE, that only does your Word / Excel automation? RUN /N should work. OTOH, VFP doesn't have built-in multithreading capabilities.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform