>>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.
This seems to be an overkill for the things, I'm trying to do. Ok, to be more concrete (I guess, it's incorrect term, but I don't know any better):
I have a generic simple form, which can work with any passed tables. I recently added a new option for printing reports in Excel using Daniel's QuickReport program and his animation class. Now I'm thinking, how can I interrupt this process of producing Excel from a table...
If it's not broken, fix it until it is.
My Blog