Computer Whizz wrote:So what are you trying to do exactly?
He wants the application to load the image from a directory, rather than have the image imported into the EXE. This way, users are able to edit the image files to make their own 'skins' as one might say.
Dunno if this is right....
picPicture.Picture = LoadPicture(App.Path + "\directory" & Index & ".jpg")
Might work.
-------------------
Edit:
hmm, just looked at something. If you're using Picture Boxes, this line of code might help:
Picture1.Picture = LoadPicture ("Filename")
I think you can probably change the parameter of
("Filename") to the image located in the same directory as the exe. I believe this will work because if it was to load a picture within the form, i think the syntax would be...
Picture1.Picture = imgPicture
But being new to this, i could be wrong. Experiment with it anyway, and see what result you get. Hope i helped