SaveDialog.Execute does nothing in window 7

Delphi 2007 on Windows 7 does nothing when calling saveDialog.Execute. I saw another person mention this a few weeks ago, but that was with Borland C ++.

Any clues?

+2
source share
2 answers

Watch the "TOpenDialog.Execute not working" stream on embarcadero newsgroups .

The issue was resolved by removing the executable name from "HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options"

+3
source

I have the same problem (saveialog does not work) on Windows XP.

After many unsuccessful attempts according to volume exchanges in the embarcadero group, you mentioned (https://forums.embarcadero.com/thread.jspa?messageID=196950&tstart=0#196950).

I found the reason: the original dir file and the Savedialog12 file name were bad, conflicting, a file name containing the full path of the last file that I opened (I thought it would be wise to prepare a saving file that I opened last, unfortunately, what i put in initialdir was the same as what i put in the file name!)

The problem has already been resolved by clearing both fields of the save dialog box.

In addition, my initial goal of preparing the preservation was achieved by placing the correct values ​​in the relevant areas:

SaveDialog1.FileName:=ExtractFileName(Opendialog1.Filename); SaveDialog1.InitialFileDir:=ExtractFilePath(Opendialog1.Filename); 
+2
source

Source: https://habr.com/ru/post/1345855/


All Articles