Hello.
I use images stored as jpg outside the db and linked with code using examples learned here. Thanks for showing me that!
Right now I am trying to have the background image behave the same way.
I use the dialogs and navigate to the file so that it the path to file reads C:/images/backgrounds/back.jpg
Set property to Zoom and Linked.
All is well.
If I move or send by email for others to use,,,, (sending or moving the folder containing the MDB and images)… I need a relative path for the back ground image… right?
In Picture property I input the relative path to image I want to use. When I open the form in design view of preview I receive an error saying that file can not be open. (see ‘error.bmp’ attached)
I have tried using several different combinations (examples below) as the relative path. All produce the same error
//folder_with_mdb_in_it/folder/file.jpg
/folder_with_mdb_in_it/folder/file.jpg
folder_with_mdb_in_it/folder/file.jpg
//folder/file.jpg
/folder/file.jpg
folder/file.jpg
It seems to work once. Then on close and re-open the error returns.
I tried a decompile thinking it may be some type corruption thing… no luck.
What seems to be the problem here?
Thanks.
Jason