Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 - Locking Out User While Report Goes To Excel
Message
De
13/07/1998 21:48:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116857
Message ID:
00116995
Vues:
17
>But when you send a *command* to excel, is control immediately returned to VFP or when excel has finished before control is returned to VFP? My premise was:


The Excel instance, from what I understand, is a completely different thread.

>oHoldIt = createobject("stop_user_with_modal_form")

ok...

>oHoldIt.Show() && user can not do anything in VFP at this point

ok...
>oExcel.Do_some_stuff

ok...

>oExcel.do_more_stuff
ok...

>oExcel.Finished

Hold it. What do you mean? How do you know when Excel is finished? The only way I know of is to set up a loop that polls Excel for its status code, and jumps out when it reads ready (althogh I know you can do this, I don;t recall the OLE function)
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform