Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Word call from VFP8
Message
 
To
13/09/2006 14:23:26
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01153464
Message ID:
01153467
Views:
22
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform