Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Word call from VFP8
Message
 
À
13/09/2006 14:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01153464
Message ID:
01153467
Vues:
24
>Greeting.
>
>I know this has been asked many times, but I can't remember where I can find the code.
>Please point me to an example of VFPx.x calling MS Word.
>
>TIA.

"Calling MS Word" ? If you mean, open the file, then:
	DECLARE INTEGER ShellExecute ;
			    IN SHELL32.DLL ;
			    INTEGER nWinHandle,;
			    STRING cOperation,;   
			    STRING cFileName,;
			    STRING cParameters,;
			    STRING cDirectory,;
			    INTEGER nShowWindow

? ShellExecute(0,"open","c:\word.doc","","",1)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform