Relative Paths in VB6
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?
I always used
App.path & "\" & filename
I believe you could use relative path after that
App.path & "\..\" & filename
App.path & "\" & filename
I believe you could use relative path after that
App.path & "\..\" & filename
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement