I link an image into a word document using this snippet:
.InlineShapes.AddPicture("c:\absPath\to\myImage.jpg")
but I am not able to use relative paths
.InlineShapes.AddPicture(".\relPath\to\myImage.jpg")
MS-word returns an error or replaces it with absolute path (depending on MS-word version).
But for me having a relative path to external file is important, in my case I want to check-in the word document and the images into SVN and when this is check-out in a different location, the absolute path doesn't work anymore.
Any ideas or solutions?