GetFile
The GetFile function returns a File object corresponding to the file in a specified path.
Syntax :
GetFile(FilePath)
Parameters | Description |
---|---|
FilePath | Required. The FilePath is the path (absolute or relative) to a specific file. |
Example :
sFile=ShowOpenFile("Image Files (*.bmp, *.jpg, *.png, *.gif)%%|%%*.bmp;*.jpg;*.png;*.gif")
IF sFile<>"" THEN
img = GetFile(sFile)
END IF
- sFile will return the file.