how can i get the path of my own program?
I.e. my program was started from 'c:\myprogram\program.exe'
and i want to show the path in a messagebox.
per the lang ref
Property (As FolderItem)
The property is read-only.
FolderItemValue = aApplication.ExecutableFile
Returns a FolderItem for the actual executable application even if it is in a bundle.
Use the properties and methods of the FolderItem class to get/set attributes of the executable file and/or perform operations. For example:
gets the full path to the executable.
gets the date/time the executable was created.