LnS icon quirk

Discussion in 'LnS English Forum' started by n8chavez, Sep 21, 2008.

Thread Status:
Not open for further replies.
  1. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,541
    Location:
    Location Unknown
    Anyone have any idea why the icons for any *.exe are not showing up as they are supposed to in LnS popups?
     

    Attached Files:

    • lns.png
      lns.png
      File size:
      68.2 KB
      Views:
      357
    • lns3.png
      lns3.png
      File size:
      34.2 KB
      Views:
      357
    Last edited: Sep 21, 2008
  2. Frederic

    Frederic LnS Developer

    Joined:
    Jan 9, 2003
    Posts:
    4,353
    Location:
    France
    Hi,

    Maybe you need to increase the number of icons in the cache:
    http://support.microsoft.com/kb/132668/en-us

    Otherwise, I don't know what could affect the icon display. Look 'n' Stop uses a standard Windows function to get the icon from the exe file, and if this function had failed another internal icon (a "?") would be displayed.

    Regards,

    Frederic
     
  3. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,541
    Location:
    Location Unknown
    How would that problem be explained by the second screenshot? There the correct application icon is displayed on the right hand side but not on the left, which i.s the list of active applications
     
  4. Frederic

    Frederic LnS Developer

    Joined:
    Jan 9, 2003
    Posts:
    4,353
    Location:
    France
    A new icon handle is asked to the system when an application is added to the list of connected applications. So, the two lists are independant.

    Frederic
     
  5. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,541
    Location:
    Location Unknown
    I still haven't been able to correct this issue.
     
  6. Frederic

    Frederic LnS Developer

    Joined:
    Jan 9, 2003
    Posts:
    4,353
    Location:
    France
    Look 'n' Stop doesn't create this kind of icon by itself, so there is something else giving this icon when Look 'n' Stop asks Windows for it (through a standard function).
    Since the executable file has to be open to get the icon from its resource, maybe another security software prevents the Windows function from opening the file and a default icon is returned instead.

    No other idea so far, and not reported yet by another user.

    Regards,

    Frederic
     
  7. Phant0m

    Phant0m Registered Member

    Joined:
    Jun 7, 2003
    Posts:
    3,726
    Location:
    Canada
    The two lists are independent, but why does the right list retrieve the icons and the left list doesn't? What's the shared method for icon retrieval between left list and the application filtering alert screen?

    The executable name and path have a space, is the space removed or added? Before, while or after the icon retrieval?

    Also n8chavez's problem isn't with Cached Icons limit.


    Regards,
    Phant0m``
     
  8. Phant0m

    Phant0m Registered Member

    Joined:
    Jun 7, 2003
    Posts:
    3,726
    Location:
    Canada
    Where are yea Fred... :D
     
  9. Phant0m

    Phant0m Registered Member

    Joined:
    Jun 7, 2003
    Posts:
    3,726
    Location:
    Canada
    Here's your fix, please create txt file named exefile and paste the below in it and save and rename the file extension to .reg .

    Windows Registry Editor Version 5.00

    [-HKEY_CLASSES_ROOT\exefile]

    [HKEY_CLASSES_ROOT\exefile]
    @="Application"
    "EditFlags"=hex:38,07,00,00
    "TileInfo"="prop:FileDescription;Company;FileVersion"
    "InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"

    [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
    @="%1"

    [HKEY_CLASSES_ROOT\exefile\shell]

    [HKEY_CLASSES_ROOT\exefile\shell\open]
    "EditFlags"=hex:00,00,00,00

    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @="\"%1\" %*"

    [HKEY_CLASSES_ROOT\exefile\shell\runas]

    [HKEY_CLASSES_ROOT\exefile\shell\runas\command]
    @="\"%1\" %*"

    [HKEY_CLASSES_ROOT\exefile\shellex]

    [HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
    @="{86C86720-42A0-1069-A2E8-08002B30309D}"

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
    @="{86F19A00-42A0-1069-A2E9-08002B30309D}"

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
    @="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"



    Now merge the exefile.reg file and change the color display from 32bit to 16bit and apply and back again and apply.


    *** Edited to include key deleting with the reg file merging process, instead of manually having a user visit the registry.
     
    Last edited: Nov 30, 2008
  10. Frederic

    Frederic LnS Developer

    Joined:
    Jan 9, 2003
    Posts:
    4,353
    Location:
    France
    Thanks Phant0m for your support on that issue.
    It was a difficult one, and I had no idea why the Windows API was giving a bad icon.

    Frederic
     
  11. Phant0m

    Phant0m Registered Member

    Joined:
    Jun 7, 2003
    Posts:
    3,726
    Location:
    Canada
    Hey Fred,

    Anytime, and you certainly welcome!



    Regards,
    Phant0m``
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.