Jul
What is app.path?How to create app path ?
What is app.path ? How to create app path ??
App.path is a function which returns a string with “\” character at the end if the path is the root drive. For example (”C:\”). But without that character (”\”) if it isn’t ( example “c:\program files”). Most of the time we need the “\” at the end, so this function saves you the inconvenience of adding it every time.
—————–
Public Function AppPath() As String
Dim sAns As String
sAns = App.Path
If Right(App.Path, 1) <> “\” Then sAns = sAns & “\”
AppPath = sAns
End Function

