Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Word Docs
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01044762
Message ID:
01044763
Views:
13
>What's the easiest way to print a Word Doc from VFP code?
DECLARE INTEGER ShellExecute IN shell32.dll ;
	INTEGER hndWin, ;
	STRING cAction, ;
	STRING cFileName, ;
	STRING cParams, ;
	STRING cDir, ;
	INTEGER nShowWin

lcWordDocName = FULLPATH(lcWordDocName)
ShellExecute(0, "Print", lcWordDocName, "", "", 0)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform