>Hello, I need urgent that anyone tell me who can i turn the Page to Landscape using de WORD.BASIC command in VFP.
>Thanks, if possible reply me today please.
>PS: If anyone have the complete commands of Word.Basic OLE automtion to vfp plese send me by email to
ruitrol@incm.pt, Thanks.
In general, it's better to use the Word VBA commands for automating Word than to use Word Basic. To get started, you say:
oWord = CreateObject( "Word.Application" )
The object model provided is very rich. It's documented in a Help file that comes with Word. For Word 97, the file is VBAWRD8.HLP; for Word 2000, it's VBAWRD9.CHM. If you can't find it in your Office directories, it means you didn't install it when you installed Word. You can add it using Add/Remove Programs from the Control Panel.
In addition, the whole thing is available as part of the online MSDN at msdn.microsoft.com.
Tamar