PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Retrieving the temporary directory of the computer
fTempPath (Example)
Retrieving the temporary directory of the computer
The following code is used to retrieve the temporary directory of the current computer.
// --Click code on BTN_TempDirectory
// Declare the variable
ResTempDir is string
// Retrieve the name of temporary directory
ResTempDir = fTempPath()
// Error?
IF ResTempDir <> "" THEN
Info("The temporary directory on this computer is: " + ResTempDir)
ELSE
// Display the error message
Error(ErrorInfo(errMessage))
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment