Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting picture to specific place in Word
Message
From
07/01/2009 11:17:08
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
07/01/2009 09:39:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01371692
Message ID:
01371750
Views:
10
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform