From ab3ae88f7dd4f199d007825b97400ba9d0a179b2 Mon Sep 17 00:00:00 2001 From: Kim Knight Date: Sat, 14 Sep 2024 23:59:13 +1000 Subject: [PATCH] Changed the remoteapp default icon to the default app icon from user32.dll. The removes the dependency of RDC feature being installed in Win 11. Fixes issue #128. Updated version # --- remoteapp-tool/IconModule.vb | 2 +- remoteapp-tool/My Project/AssemblyInfo.vb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/remoteapp-tool/IconModule.vb b/remoteapp-tool/IconModule.vb index 14b6ca9..95e9250 100644 --- a/remoteapp-tool/IconModule.vb +++ b/remoteapp-tool/IconModule.vb @@ -148,7 +148,7 @@ Module IconModule Return Icon.FromHandle(smallIcon) End If Else - Return ReturnIcon(GetSysDir() & "\mstsc.exe", 0) + Return ReturnIcon(GetSysDir() & "\user32.dll", 0) End If End Function diff --git a/remoteapp-tool/My Project/AssemblyInfo.vb b/remoteapp-tool/My Project/AssemblyInfo.vb index 3f9962c..93fe651 100644 --- a/remoteapp-tool/My Project/AssemblyInfo.vb +++ b/remoteapp-tool/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + +