Relative file path
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
Can I use relative file path in VB? For e.g., if I want to put a picture from a CD that I created into a application program which is executed directly from the CD, how do I specify my picture's location? or is that anyway I can know the CD-ROM drive where the CD is ?
-
Can I use relative file path in VB? For e.g., if I want to put a picture from a CD that I created into a application program which is executed directly from the CD, how do I specify my picture's location? or is that anyway I can know the CD-ROM drive where the CD is ?
Hi ! I'm not sure to understand exactly what you want to do, but in VB, App.Path will give you the path of your running app. Thus, you can use it to access relative file path. Jérôme