Running program from Cd

I have a VB program that contains .jpg. I have created an install and can install it onto a computer and use it no problem, but now users want to run it soley from the CD. My problem is the program is looking for the pictures on the C: drive. I changed it to the D: drive but then relized that my drive is E, and others vary.  Can I set a global path somehow? How do I do this.  
pellsAsked:
Who is Participating?
 
dabelleiConnect With a Mentor Commented:
If you put your .jpg in the path of the applications the use

app.path & "xxx.jpg"

same if you put them in a sub directory

app.path & "\sub\xxx.jpg"
0
 
pellsAuthor Commented:
Adjusted points to 200
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.