Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting picture to specific place in Word
Message
De
07/01/2009 11:17:08
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
À
07/01/2009 09:39:09
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01371692
Message ID:
01371750
Vues:
11
Perhaps bookmarks in the document? Something like:

*-- No error checking to speak of here!
*-- cPicturePath = 'c:\myPicture.jpg'
*-- oDoc oWord.ActiveDocument

IF FILE(cPicturePath)
oBook = oDoc.Bookmarks("PictureBook")
oRange = oBook.RANGE()
oRange.InsertFile(cPicturePath)
ENDIF

Gary


>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform