Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation: how to wait for user to close MSWord ?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018391
Message ID:
01018473
Views:
13
>>I have a VFP routine that creates MSWord documents and then does one of the following
>>
>>- saves the doc
>>- saves and prints the doc
>>- prints and emails the doc
>>- saves, prints, and emails the doc
>>
>>I would like to modify the process to let the user edit the created document before selecting one of the options above. Is there a way to suspend VFP processing while the doc is being editing? And then return control to the program after the user is done editing?
>
>
>
>
>........
>
>** Here you want to Stop VFP
>
>DO WHILE TYPE("oWord.Name") == "C" .AND.;
>         NOT ISNULL(oWord)
>   DOEVENTS FORCE
>ENDDO
>
Cool!
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform