I know there is a problem in that the packaged version is still trying to
load images from the developing path. And I could fix the by simply copying
the developed database to the default location where it will be installed
and re-map all the forms images. But this doesn't help me if say the end
user decides to install the application somewhere else. Say on the D drive?
So how do I set the forms image path to look where the database file is
stored and just check the pictures folder inside that folder?
I tried typing "(Apppath)\pictures\pic1.jpg" in the path for one of the
forms by it didn't work.
Any thoughts or advice on this would be greatly appreciated.
>I have chosen to Link the images
>I know there is a problem in that the packaged version is still trying to
>load images from the developing path. And I could fix the by simply copying
>the developed database to the default location where it will be installed
>and re-map all the forms images. But this doesn't help me if say the end
>user decides to install the application somewhere else. Say on the D drive?
>So how do I set the forms image path to look where the database file is
>stored and just check the pictures folder inside that folder?
The long solution would be to get the current app path using
currentdb.name and use that variable in the OnOpen event of each
form/report to load the images.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
"Tony Toews" <tto...@telusplanet.net> wrote in message
news:1bedeuge5tlcekffh...@4ax.com...
>Is there a short solution to this problem?
I was hoping someone else would jump in. Sorry.
HTH
anup
>.
>