Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Save in Word?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01198988
Message ID:
01199051
Views:
25
You could split your process in 2 (as suggested) and when they decide to edit the document , use a "Run-and-Wait" method to open the document, which will open your word document and wait until the user is finished to return to your VFP code. Here is one way to have a run-and-wait.
WshShell = CreateObject("WScript.Shell")
ReturnCode = WshShell.Run(getfile("doc"), 1, .t.)
MESSAGEBOX("finished")
>The edited copy is NOT the original, but it is the one that the application needs to print when the user is done editing....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform