To get you started try this:
oWord = CREATEOBJECT("Word.Application")&& Create Word object
oWord.Documents.ADD() && Add blank document
oWord.Selection.InlineShapes.AddPicture("c:\winnt\greenstone.bmp", .T., .F. && add Picture
oWord.ActiveDocument.PrintOut && Print Document
** This line will open the word app
oWord.VISIBLE = .T.
You can also Record a Macro then open the Visual Basic Editor and
copy the macro code out. You will need to change the syntax for VFP.
Hope this helps
THis is a good time as any to ask.
How do you reply with the code sample in white?
- jim durkin
"The universe is a big place, perhaps the biggest." Kurt Vonnegut