Nadya,
Ok. I think the following should work:
1. Download Bela's cppTimer
2. Wrap your processing as follows:
SET LIBRARY TO cppTimer.fll ADDITIVE
lnMilliSecs = 200
InitTimers(1, lnMilliSecs, "DOEVENTS")
StopTimer(1)
KillTimers()
I use this approach to provide the possibility to cancel processes. Bela's timer works really great. In VFP6 there's a problem with DOEVENTS. It can slow down processing. David Frankenbach has provided a workaround which you can find on the wiki.
HTH
>>Nadya,
>>
>>Is the problem related to the AVI you're trying to display or is it related to the process you're running? With other words, does the AVI play correctly if you instantiate the object *without* IDSMail?
>>
>
>Yes, if I comment out IDSEMail program call, but just put =inkey(0), it works fine. The program eats all resources...
>
>>>Hi everybody,
>>>
>>>I'm trying to show some animation while I'm sending e-mail (using IDSMail) in VFP. However, the AVI is just shown, but not playing. I think, if I would be able to run this process of sending e-mails in the background, the animation will work correctly... What would be your thoughts and suggestions here?
>>>
>>>Thanks a lot in advance.
Daniel