Stylish round application icon as of UltraEdit/UEStudio 2022.2 instead of black square icon as of UE/UES 2023.0

Stylish round application icon as of UltraEdit/UEStudio 2022.2 instead of black square icon as of UE/UES 2023.0

326
Basic UserBasic User
326

    Apr 24, 2023#1

    [April 2023] Beta testers may have seen the changed icon for UltraEdit – not a huge fan to be honest, so I extracted the Icons from the UE 2022.2 – the gold gradient circle with black border – which you can download below, you can use this for file associations for example or launchers etc.
    ue-icon.ico (166.98 KiB)   0
    Application icon extracted from UltraEdit 2022.2

    42
    NewbieNewbie
    42

      Apr 26, 2023#2

      Second this. 

      The new icon is hard on the eyes. It doesn't work on a crowded taskbar or black background desktop.  

      42
      NewbieNewbie
      42

        May 09, 2023#3

        Upgraded to the newer version and got disappointed about the new icon. Maybe it is just me.
        I will try replacing it with the ResourceHacker.
        [tridy]

        326
        Basic UserBasic User
        326

          May 16, 2023#4

          Let me know how it goes (no security warnings of the modified exe?)

          23
          NewbieNewbie
          23

            Jun 14, 2023#5

            My apologies to whomever designed the new UE icon but the new black one is ugly. I assigned UE as the default editor for all my text and source code file types. Seeing all those black boxes in the Windows file explorer looks really bad. (See attachment) Maybe if I changed my Windows theme to dark, it'd look slick. But I'm old-school (I've used UE for over 20 years) and that's not an option.

            I was able to change the app's icon to something less-dark, but the filetype remains the same.

            So, is there a way to change the file type icon to point to a different UE icon?

            My only other alternative is to make VSCode my default editor for source code files, and I don't really want to go there... 😎

            Thanks,

            Stew
            UE File open.jpg (23.86KiB)

              Jun 14, 2023#6

              +1 on hating the new file icon.

              I downloaded the .ico file that @hugov shared, but can someone suggest how I'd change the file types that default to UE to use this icon.


              ResourceHacker doesn't give me a warm and fuzzy feeling, so I'm hesitant to install it, much less use it to hack uedit64.exe.

              TIA

              6,682583
              Grand MasterGrand Master
              6,682583

                Jun 15, 2023#7

                File associations are registered under HKEY_LOCAL_MACHINE\SOFTWARE\Classes for all users of a machine and under HKEY_CURRENT_USER\Software\Classes for the current user. Windows combines these two registry keys with current user file associations taking precendence over the local machine file assocations to HKEY_CLASSES_ROOT.

                Let us assume a user associated via the graphical user interface of Windows the file extension .nfo with UltraEdit which could be done also in a command prompt window by running the following two command lines:

                assoc .nfo=UltraEdit
                ftype UltraEdit=^"^%ProgramFiles^%\IDM Computer Solutions\UltraEdit\uedit64.exe^" "%1"

                The .nfo file association is stored in the Windows registry as follows:

                Code: Select all

                [HKEY_CLASSES_ROOT\.nfo]
                @="UltraEdit"
                
                [HKEY_CLASSES_ROOT\UltraEdit\Shell\Open\Command]
                @=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
                  00,65,00,73,00,25,00,5c,00,49,00,44,00,4d,00,20,00,43,00,6f,00,6d,00,70,00,\
                  75,00,74,00,65,00,72,00,20,00,53,00,6f,00,6c,00,75,00,74,00,69,00,6f,00,6e,\
                  00,73,00,5c,00,55,00,6c,00,74,00,72,00,61,00,45,00,64,00,69,00,74,00,5c,00,\
                  75,00,65,00,64,00,69,00,74,00,36,00,34,00,2e,00,65,00,78,00,65,00,22,00,20,\
                  00,22,00,25,00,31,00,22,00,00,00
                
                The file association is registered either in registry hive of current user or in registry hive of local machine depending on the user used own account with write permissions only for HKEY_CURRENT_USER\Software\Classes or a local administrator account with using an elevated execution environment (run as administrator) for having write access also to HKEY_LOCAL_MACHINE\SOFTWARE\Classes.

                Most users create a file association via the graphical user interface of Windows. There are several possibilities which I do not describe here as they differ from Windows version to Windows version although they all result in the same actions in Windows registry.

                How to change the icon associated with a file type depends on how the user associated a file extension. Let us assume the user does not have the permissions to run Registry Editor of Windows as administrator and wants to change the icon for a file type.

                The user has to open a command prompt window and run the command assoc with the file extension which is in this example: .nfo

                assoc .nfo

                The Windows command assoc outputs the associated file type registration which is the default string value of HKEY_CLASSES_ROOT\.nfo.

                .nfo=UltraEdit

                The user has to run next the command ftype with the string output after the equal sign to get displayed the registered shell command for opening files with file extension .nfo which is here UltraEdit.

                ftype UltraEdit

                The output for this example is:

                UltraEdit="%ProgramFiles%\IDM Computer Solutions\UltraEdit\uedit64.exe" "%1"

                All the hexadecimal bytes in the UTF-16 Little Endian encoded registry export above become now readable in this output. hex(2): in the above export is the type of a registry value of type REG_EXPAND_SZ because of the string value contains the environment variable reference %ProgramFiles% which Windows has first to expand before getting real string. The shell open command could be registered also with a string value of type REG_SZ if the string does not contain an environment variable reference. Most shell open commands for file types use REG_SZ as string value type.

                The Windows command ftype cannot be used to change the icon associated with a file type. It does not even register which file contains the icon for the file type.

                A user should execute therefore next first the following command line with the file type string UltraEdit for this example.

                reg QUERY "HKCU\Software\Classes\UltraEdit\Shell\Open\Command" /ve

                The user knows the file type registration was done only for the current user if there is the same string output as before on execution of ftype. Otherwise there is output the error message:

                ERROR: The system was unable to find the specified registry key or value.

                The user should run in that case the following command in the command prompt window:

                reg QUERY "HKLM\Software\Classes\UltraEdit\Shell\Open\Command" /ve

                Now the user should see the output as before with ftype and knows that the file type is registered for all users of local machine. In this case the user should close the current command prompt window and open a new one with Run as administrator and use the next commands with HKLM instead of HKCU from within elevated command prompt window.

                Let us assume next the file ue-icon.ico offered for download by hugov exported with Resource Hacker (really good free tool often used by me) from UltraEdit executable of version 2022.2 containing this icon file in its resources is stored by the user in the directory %ProgramFiles%\IDM Computer Solutions\UltraEdit (using elevated permissions of a local administrator). Then the user has to run next in the command prompt window either

                reg ADD "HKCU\Software\Classes\UltraEdit\DefaultIcon" /f /ve /t REG_EXPAND_SZ /d "\"^%ProgramFiles^%\IDM Computer Solutions\UltraEdit\ue-icon.ico\""

                or

                reg ADD "HKCU\Software\Classes\UltraEdit\DefaultIcon" /f /ve /t REG_SZ /d "\"%ProgramFiles%\IDM Computer Solutions\UltraEdit\ue-icon.ico\""

                The first command adds the default icon string as expandable string containing the environment variable reference %ProgramFiles% while the second command adds the default icon string as standard string with %ProgramFiles% expanded already by the Windows Command Processor before running %SystemRoot%\System32\reg.exe.

                The fully qualified file name of the icon file can be whatever is wanted by the user. This is just an example.

                It is necessary to restart Windows to see the changed icons for the file types in Windows File Explorer as the command reg does not send an appropriate message to all running instances of explorer.exe including the Explorer instance running as Windows shell with Windows desktop, Windows Start button and Windows taskbar as visually visible graphic elements to inform them to update the icon cache.

                There are of course also other methods to change the default icon for a file type like running Registry Editor as administrator on having permissions to do at all and edit the default icon registry string value with Registry Editor or using graphical interface. But all the other methods depend on version of Windows and which permissions the user has which is the reason why a described the change of the default icon using Windows commands which every user on every Windows can execute.
                Best regards from an UC/UE/UES for Windows user from Austria

                323
                Basic UserBasic User
                323

                  Jun 15, 2023#8

                  I just updated and find this new icon startling - I'm on the autism spectrum so I am admittedly very "rigid" in how my interface works - but for me the application icon being different, I don't "see" UE running in my taskbar be cause for 25+ years I've gotten so used to the classic icon.

                  I'm going to try and suck it up for now and see if Mofi's extensive reply contains any advice for me to maybe get it back but for me it's not just the file associations - it's the app icon itself I need to fix because .. this new one is horrible

                  From a design perspective, it's ugly, but it's my "neurodivergent" brain which is really unsettled by the change" which is my problem, not yours - but yeah ...

                  Hopefully like with the horrid Ribbon UI, there is an easy option to go back to more classic/standard things.
                  -- The Digital Sorceress

                  6,682583
                  Grand MasterGrand Master
                  6,682583

                    Jun 15, 2023#9

                    The application icon itself is taken from the first icon resource in the executable (uedit64.exe) or its resource DLL (ueres.dll). That icon can be changed only by using a tool like Resource Hacker. The problem nowadays on making changes of a resource in an executable or resource DLL is that the also embedded certificate with the hash for the executable / resource DLL with a signature created by a certification authority becomes invalid by such a resource manipulation as the hash changes. That does not make the executable / resource DLL itself invalid, but Windows could warn the user on starting the executable about the invalid certificate and the user has to decide if it nevertheless trusts the obviously manipulated application or not.

                    I could find out that with replacing icon group 2 in ueres.dl with Resource Hacker results in getting the icon as stored in ue-icon.ico now being inside the resource DLL displayed on the Windows taskbar and in title bar of the UltraEdit application window. Windows 7 showed no certificate warning. I have not checked up to now if Windows 11 22H2 would show a warning.
                    Best regards from an UC/UE/UES for Windows user from Austria

                    11
                    NewbieNewbie
                    11

                      Jun 16, 2023#10

                      For me the new icon is really ugly in file lists as shown by Stew. In my opinion would be best to give the user the option to choose between the old and the new icon. The effort to edit the registry for every associated file type can't be the right solution in my eyes.

                      326
                      Basic UserBasic User
                      326

                        Jun 16, 2023#11

                        To make it easier to change the Icon associated with files you can use a portable (just unzip and run) application
                        FileTypesMan @ https://www.nirsoft.net/utils/file_types_manager.html

                        For instructions, just google* and you'll find "how tos" with screenshots - some file managers (total commander for example) make it easy/easier to change the associated icons as well, but FileTypesMan seems like a nice "global" solution.

                        * FileTypesMan change icon

                        22
                        NewbieNewbie
                        22

                          Jun 16, 2023#12

                          Would be nice to have older UEStudio icon as well. Thank you, Hugov, for the UltraEdit icon.
                          And shame on those from the UE team who 'invented' this new ugly icon. This is a bad sign from the new UE management.
                          It means we can get the same 'improvements' for functionality as well.

                          54

                            Jun 16, 2023#13

                            I absolutely hate the new icon. Please give us the option to bring the old one back.

                            6,682583
                            Grand MasterGrand Master
                            6,682583

                              Jun 16, 2023#14

                              I saved the UEStudio v2022.2.0.52 main application icon resource with Resource Hacker into the attached file UEStudio.ico.

                              Note: Which icon is used by default by Windows for associated file types, for the icons of shortcut files, in the title bar of main application window, in Windows taskbar for the running application, in system tray on using the option to minimize to system try, etc. is defined by which icon group (set of same icon in various dimensions) is stored as first icon group in the resource of an executable. No configuration setting in UltraEdit / UEStudio can change that as far as I know.

                              All users unhappy with the new main application icons of UltraEdit and UEStudio should inform UltraEdit support by email about that. I am sure the main application icon is changed back if many users do that.

                              I like the icons of UE/UES prior v2023.0.0.40 also more than the main application icons of UE/UES v2023.0.0.40. But that does not bother me anymore after some weeks. I am getting used to the new look of the icons, perhaps because of seeing it only in Windows Start menu, on the Windows taskbar and in the title bar of UE/UES. I use Total Commander and not Windows File Explorer and have configured in TC to show all files and directories just with standard icons as also configured in UltraEdit for the File explorer view.
                              UEStudio.ico (164 KiB)   0
                              UEStudio 2022.2.0.52 main application icon in all sizes
                              Best regards from an UC/UE/UES for Windows user from Austria

                              12
                              NewbieNewbie
                              12

                                Jun 25, 2023#15

                                I hate the new icon as well.
                                I'm with DigitalSorceress on this one, I just can't find UESudio in by Taskbar - The icon looks too similar to Adobe Illustrator.
                                Thanks Mofi for sharing the old one and saving me the trouble to grab it myself from an old version.

                                I really would appreciate the option to install it with the old logo.

                                Read more posts (18 remaining)