how do i insert an image in a word(bmp,jpg) through an ole object of word that i created. and then how do i take a print out of this.
kindly help asap.
arun.
myoleobject1.Bookmarks.Item[1].Select() //selecting the first book mark
myoleobject2 = myoleobject1.Bookmarks.Item[1].Range
myoleobject2.InlineShapes.AddPicture("C:\MyPic.bmp"
myoleobject1.save()
myoleobject1.close()
myoleobject.DisconnetObject()
myoleobject1.destroy()
myoleobject2.destroy()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.