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:
01236042
Views:
25
>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 check Problem with closing Excel opened by automation Thread #1232734 for some ideas.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform