Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stop VFP after Word.Document.Open() ?
Message
 
 
To
27/06/2007 12:37:39
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01236033
Message ID:
01236041
Views:
31
>I need to modify document before send it to fax.
>
>oWord = createobject("word.application")
>oWord.visible = .t.
>oWord.Documents.Open("MyDocumentToModify")
>**************************
>&& I need to wait here
>**************************
>release oWord
>*********************************
>do sendtofax with "MyDocumentToModify"
>*********************************

You may simply use SLEEP API function or use Event Handler.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform