Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing animation while sending e-mail
Message
From
22/04/2002 16:09:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00647673
Message ID:
00647849
Views:
18
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
*-- initialize timer
lnMilliSecs = 200 && adjust
InitTimers(1, lnMilliSecs, "DOEVENTS")

*-- processing goes here

*-- Stop timer
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform