Relative File Location

03-09-2006, 10:02 AM
I have one last question how do i get the picture i want to load without putting in the whole address path I.E


so if the file is in the same folder as theproject it will just load


03-09-2006, 11:13 AM
Tzarkahn - if your follow-up post is an entirely different subject, please post it in a separate (new) thread.

To answer your question, use app.Path. It contains the path of the currently running app.

App.Path & "\image1.Jpg"

03-09-2006, 12:11 PM
Thanks very much for your advice.

And rest assured i will make sure i dont get off topic.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum