help with a picture in a form

F

foxie foxster

i have a form (menu) and i put on that form a picture "petanque.bmp"

in properties i set the place where that picture is
d:\test\petanque.bmp

but when someone uses my mdb program and he installs it on f.i.
c:\program\test (and in that subdir he puts hetpicture) then it doesn't
work

I tried to replace that d:\test\petanque.bmp with the following code

left(currentName,len(currentName))&petanque.bmp

but that doesn't work

what is wrong????
 
Top