- Sudeep Pandey
- PowerBuilder
- Monday, 11 March 2019 10:13 AM UTC
Hello,
I am using PB 2017 R3 Build 1880.
The FileDelete function is working fine in my machine whenever my application run on other machine then it is not getting deleted. I assume this function is returning (FALSE or NULL).
That might the file access or other issue.
I just want to display a proper message to user, why this file is not deleting like (Access denied or file is in used ,...etc.)
ls_file_loc variable has correct file location.
IF FileDelete (ls_file_loc) TRUE then
Messagebox("Info", "Unable to delete file", Exclamation!, OK! )
END IF
Please give your valuable suggestion...
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.