From bf632cb99bc6d70da1497d98d027f5793d91aa6b Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Tue, 4 Jan 2022 19:11:29 -0800 Subject: [PATCH] Don't try to make file associations starting with Vista At some point the registry key setting stopped working, not sure as of what Windows version. But this will avoid the 'Failed to set data for '' ' error --- Main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 Main.pas diff --git a/Main.pas b/Main.pas old mode 100755 new mode 100644 index 1623e15..e533254 --- a/Main.pas +++ b/Main.pas @@ -1279,7 +1279,7 @@ begin FMinToTray := true; FExportSheets := false; - MakeFileAssociations; + if Win32MajorVersion < 6 then MakeFileAssociations; end; procedure TMainForm.SpeedButton1Click(Sender: TObject);