Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Save in Word?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01198988
Message ID:
01199051
Vues:
26
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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform