/ Forums / Advansys Formativ / Creating Solutions with Formativ / Relativ path in Stringlist.LoadFromFile() / Reply To: Relativ path in Stringlist.LoadFromFile()
July 5, 2006 at 11:21 pm
#7672
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