MS Knowledge Base article 285820

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a small questions and answers database (with images) that I'm using to
learn access. I put in on a USB drive and move it around from PC to PC,
where dirve letter change of the USB drive. I used this article to display
my images, but I need to be able to pull up the images from the same
directory as my *.mdb database is in, but the kicker is the drive letter will
change. So all my images would be in \images directory in the same directory
as my Q&A databse. I tried ..\ and .\ instead of the drive letter, but no
luck.
 
You probably need to modify the line strImagePath = strDatabasePath &
strImagePathTo include the "Images\" directory strImagePath =
strDatabasePath & "Images\" & strImagePath"csinva"
 

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

Back
Top