Results 1 to 5 of 5

Thread: [RESOLVED] VS2022 4.5FW Application icon problem

  1. #1

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Resolved [RESOLVED] VS2022 4.5FW Application icon problem

    I’m just finishing up a project I’ve been writing. I changed my app. Icon, but I didn’t like it, so I made another. Added my icon to my.resources, swapped the icon in the properties page. The new icon shows there, also I changed my form icon, which works. But when I build my app, the first new icon that I’ve removed is used for my executable. Is this a project caching or windows caching error?
    Has anyone seen this problem before?

  2. #2

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Re: VS2022 4.5FW Application icon problem

    I’ve found something that’s basically a workaround. Changing the name of the compiled executable brings up the right icon. It seems to be a windows caching error, and I don’t know how to refresh the cache.

  3. #3
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,526

  4. #4

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Re: VS2022 4.5FW Application icon problem

    I'd seen them before, but i tried again with this one...

    https://www.vbforums.com/showthread....=1#post4295561

    I tracked down the *.db files, which are several folders down from the %userprofile%\AppData\Local folder mentioned in that link
    Then, i used DEL *.db /a and restarted Explorer. That fixed it.

  5. #5
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,526

    Re: [RESOLVED] VS2022 4.5FW Application icon problem

    OK, so it sounds like it was indeed the icon cache issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width