[RESOLVED] Image path location
I used Microsoft Access 2003, Field name "Gambar" contains image path location like this "C:\PF\GUI\ancaman padi\PENYAKIT PADI\Hawar Seludang.jpg" . When I create setup installation, there have default path location in "C:\PF" . If the user change the default location, the program will install the program to the user specific location and my program which used the image path location cannot view the image because the program install the wrong location. How I can make the image available to view any path of the location
Re: [RESOLVED] Image path location
This is actually the line of code we use
Code:
If Left(strImagePath, 2) = ".\" Then strImagePath = App.Path & Mid(strImagePath, 2)
strImagePathj is the string holding the file path to the images. We read that out of a recordset from the database.