• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

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.  
1 Solution
pellsAuthor Commented:
Adjusted points to 200
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"
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now