Context: |
Function |
Library/Class: |
Utilities |
Function GetRandomFileName() As
GetRandomFileName (FilePath As String, FilePreFix As String, FileExtention As String, forceRND As Integer) As String
This function will return a random and unique path-file-name.
Parameters:
Default path (directory) in which the file will be created.
Defines a fixed prefix for the random filename.
Defines the extention of the file that will be created.
True or False. If True, the function will always add a random number to the given FilePreFix, otherwise it will first check if the given parameters result in a valid and unique path-file-name before adding a random number.
Return Value:
|