-
Topic
-
Hi
I tried to use the relativ path to my formativ application in the Stringlist.LoadFromFile() function, but it didn’t work. When I declare the full path it works.
i.e.
The application file *.vbf is located in C:App
In the same folder is also a textfile, which I’d like to load.I use myStrList.Loadfromfile(“C:AppmyFile.txt”). This works, but when I use use myStrList.Loadfromfile(“myFile.txt”) it doesn’t work. How can I solve this problem? Is it possible to get the path of the currently running applet? So it would be possible to use this path.
Thanks.
regards
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.