Relative Paths in VB6

Started by
0 comments, last by nprz 18 years, 3 months ago
I am trying to load images into a picture box at runtime, but it will only accept full paths (C:/Whatver/Whatever) I have tried all sorts of relative paths, such as ../images/pic.jpg, but they don't work. Is there a way to resolve this problem?
---------------------------------The Shadow Sun - Want Your Writing Exposed?
Advertisement
I always used
App.path & "\" & filename

I believe you could use relative path after that
App.path & "\..\" & filename

This topic is closed to new replies.

Advertisement