Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 - Locking Out User While Report Goes To Excel
Message
From
13/07/1998 21:48:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116857
Message ID:
00116995
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform