>Hi
>I have to fill word document with two pictures.
>The original and target pictures size is constant (the orinal little bigger).
>Also the content of the word document is 99% constant.
>How can I put the pictures on specific place, lternately, can I create word document with pictures and to say vfp to change that two pictures with other?
There are many options depending on what kind of picture, how do you want it to be stored in the document, what picture format you want it to be in the document, etc.
As usual, the best way to get the suitable option is to record a Macro in Word, and translate VB code to VFP.
Other than that, one of the solutions may be like:
with oWord.Selection.InlineShapes.AddPicture("C:\untitled1.jpg")
....
endwith
or (to see all available properties and methods)
lo=oWord.Selection.InlineShapes.AddPicture("C:\untitled1.jpg")
with lo
....
endwith
lo=null
Good Luck