| Home | SQL | PHP | HTML | Perl | PowerBuilder | C/C++ | General | Solutions | Contacts |
PowerBuilderIndexTipsDatawindow TimerExecutable Name Include Objects Is Executable? Object Exists? ObjectsDownloads |
Get Executable Path and NamePurposeTo get the executable name and path for the current application How To UseI personally usually call this call in a custom application object which gets created when the application starts up. It may, however, be called virtually anywhere either as a global function or object function. CodePlease note that the following external function call must be defined for the function to work. External Function DefinitionFunctionof_GetAppPath( ref string as_AppFilePath, ref string as_AppFileName ) returns integer NotePlease note that if you're dealing in particularly long path and filenames you may wish to increase the value of lul_Length, which stores the maximum length of the path returned (including the filename). DetailsAuthor: Wayne Jones Created: 22 April 2003 Works with: Windows 3.x/9x/NT/2000/XP only, All PB versions | |
| This is Code, all contents copyright - © Wayne Jones 2004. |
