Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reliable way to release Excel?
Message
De
21/10/2003 14:19:55
 
 
À
21/10/2003 13:33:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00840734
Message ID:
00840776
Vues:
23

>You are right, running your code I get the same result.
>However, I think I miss something. Here is my code:
>
>
>* do the report here
>lcFisier.SAVEAS(lcCaleNume)
>x.QUIT
>x = .NULL.
>Thisform.Release
>
>
>If i execute the lines step-by-step in debugger, they execute almost instantaneous (including thisform.release), but if I run the form, after saving the file, my form stays on screen another 2-3 seconds, unresponsive, then releases. Do you have any idea why, please?


I agree with David on what the probable cause is. If you want the form do dissapear faster, you can give the user that illusion by doing a Thisform.hide. This will make it immediately dissapear from view, then the form.release can take its time.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform