>How could i know all the valid commands for word ole automation ?
>I asking this cause i want to insert a image file on a word document from vfp, but my problem is that i couldn't minize the size of the image...so the image instert with a huge size...and on the wrong position...
>
>Thanks in advance.
A simple way is to download the beta of VFP NET. When you download and install it you can open up a command window and do a createobject to oWord. When you work in the command window the intellisense will show you all of the properties events and methods of the object. A good learning tool if you want to investigate an automation object.
Another way is to look for the VBA help files that Word has for VB script.
HTH
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope