/ Forums / Advansys Formativ / Creating Solutions with Formativ / Relativ path in Stringlist.LoadFromFile() / Reply To: Relativ path in Stringlist.LoadFromFile()

#7672
griesserag
Participant

I found out how I can realise that. The following code returns the path of the currently running applet:

appletPath = Utilities.CurrentAppletName
appletName = Utilities.CurrentAppletShortName & “.vbf”
appletPath = left(appletPath, InstrRev(appletPath, appletName, -1, 1) – 1)

Regards