Get image

C

Cesar

I developed an Access 2003 application where I have images in forms and
reports. I coded a public string containing the full path of those images in
my computer during development.
To deploy the application on a network, I would need to code this line any
time the application is moved, or would have to provide the code to the
system administrator to do the necessary update as requiered.
Is there any way for Access to look for these images in the same directory
the application is installed, without having to hard code the file path in a
local single user or network environment?
 
G

Graham R Seach

Cesar,

Maybe something like this:
Me.Picture = CurrentProject.Path & "\mypic.bmp"

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top