From Newsgroup: comp.databases.ms-sqlserv
Hi,
Am 18.09.2020 um 13:00 schrieb Keith Tizzard:
<file name> already exists.
Do you want to replace it?
If the user responds rCyYesrCO I would have expected the command to delete the existing file but it does not. .Show returns -1 if the file does not already exist or if the user wishes to replace it. It does not distinguish between the two.
The return value -1 indicates that the file should be saved forcibly,
even if an existing file should be overwritten. So the overwrite mode
must always be set when creating a file.
Keep in mind that the save file dialogs doesnrCOt actually save anything.
It only returns the full path the user has selected to save the file.
Ulrich
--- Synchronet 3.21d-Linux NewsLink 1.2