Get Program Directory
2
This code will get the application title and version information from the project options and display it in the titlebar automatically when the main form is created. The project options are accessed from the Delphi IDE by selecting Project -> Options from the main menu.
1
This snippet shows how to properly implement a message dialog (messagedlg) to confirm some action or event with Delphi.
4
This bit of code will open up the http link in a new browser window. The link should be passed to the variable "HTML_File" as a string (as shown below).
5
This function will convert a Date (passed as type TDateTime) to a long-format Julian calendar date (result as type String).
0
Celebhir
This function takes a directory, and a "folder" search parameter.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
-2
Checks to see if a file or folder exists
The fFile variable determines whether you're
looking for a File (True) or Folder(False)
The strName variable holds the fully qualified
path you're looking For
3
this function returns the aggregated size
of all files in a directory and its subdirectories
of all files in a directory and its subdirectories
3
Check the attributes of a file or folde
3
Make a new directory
7
Implementation of file_put_contents for PHP4









