PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Connection variable>.DeleteDirectory (Function)
In french: <Variable Connexion>.SupprimeRépertoire
HFSQL Client/ServerAvailable only with this kind of connection
Deletes a directory from an HFSQL Client/Server database. This directory must be empty.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
WINDEVJava This function is now available for the Java applications.
New in version 19
WINDEVJava This function is now available for the Java applications.
WINDEVJava This function is now available for the Java applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
MyConnection is Connection
 
MyConnection.DeleteFile("ModuleCRM\Prospect.fic")
MyConnection.DeleteDirectory("ModuleCRM")
Syntax
<Result> = <Connection>.DeleteDirectory(<Directory to delete>)
<Result>: Boolean
  • True if the directory was deleted,
  • False if an error occurred (the directory does not exist on the server or the directory is not empty for example). HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable in which the directory must be deleted.
<Directory to delete>: Character string (with or without quotes)
Path of directory to delete. This path is relative to the database: the name of the database must not be specified in the path. This directory must be empty.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment