A
Andreas
I have a form in my database which imports paths of photographs that are
converted temporarily in OLE objects. I import the paths using the Open file
dialog box in Microsoft Office Object Library 11. The problem is that my
paths are in an absolute form (e.g. "C:\Data\Pics\photo.jpg") and I want to
convert them in a relative form (when the database file is in the \Data
folder the path should look like this:"\Pics\photo.jpg") in order to make my
database links working in other computers too. If what I'm asking for is too
much, I could use some help editing string in order to use of a default
picture folder in my database folder. For example:
\Data
\Pics
bd1.mdb
This means I'm looking for a way to erase the "C:\Data\" of the path string
in order to make it look like this "\Pics\photo.jpg".
Thanks in advance
converted temporarily in OLE objects. I import the paths using the Open file
dialog box in Microsoft Office Object Library 11. The problem is that my
paths are in an absolute form (e.g. "C:\Data\Pics\photo.jpg") and I want to
convert them in a relative form (when the database file is in the \Data
folder the path should look like this:"\Pics\photo.jpg") in order to make my
database links working in other computers too. If what I'm asking for is too
much, I could use some help editing string in order to use of a default
picture folder in my database folder. For example:
\Data
\Pics
bd1.mdb
This means I'm looking for a way to erase the "C:\Data\" of the path string
in order to make it look like this "\Pics\photo.jpg".
Thanks in advance