Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress During COM Call
Message
 
 
À
27/07/2006 17:01:50
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01140886
Message ID:
01140891
Vues:
18
Tim,

See if Re: FORM will not Refresh on time! Message #1130514 helps.

>I have an application that I've been breaking down into MT COM DLL modules in order to speed processing by running these processes on a server.
>
>My goal is to simply put a form on the screen during my call to these COM modules that will show a rotating picture or animated GIF until the COM component has finished it's processing (this can be anywhere from 8 seconds to 40+seconds).
>
>I've tried using an animated GIF and a regular bitmap in an image control that I rotated with a timer every 100 milliseconds. Each one works when I run it alone in the IDE, but when I compile and run, the form is displayed in each case, but the pictures show no movement. When the COM call is complete, the form goes away as it should but still no image movement.
>
>Any ideas?
>
>Thanks,
>Tim
>
>**SAMPLE GENERIC CODE
>
>goFilt = CREATEOBJECT("comquery.main")
>
>&&set up some stuff
>
>DO FORM COMStatus NAME oStatusForm && form is modeless
>
>&& form is now displayed, but with no image movement.
>
>goFilt.Process()
>
>oStatusForm.Release()
>
>&& Form goes away as it should
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform