I have an application that creates a file name output.html in the same directory as the application. I'm trying to give the user the option to save this file to a different name and location.
Here's the code that I have right now:
sDialog.Title := 'Save your file...';
sDialog.Filter := 'HTML File (*.html)|*.html';
sDialog.DefaultExt := 'html';
sDialog.FilterIndex := 1;
If sDialog.Execute Then
This doesn't work. I don't receive any errors, but it simply doesn't move the file to any location.