Change application icon on Microsoft Access database not working

WebCool 0 Reputation points
2023-02-17T07:59:25.3233333+00:00

I'm using this code:

Application.CurrentProject.Properties.Add "AppIcon", Application.CurrentProject.Path & "\myicon.ico"

Application.RefreshTitleBar

to change the application icon of my access database, but the Access icon is still displayed in the main, like this:

2023-02-17_08-48-52

Forms and reports are updated with the customiced Icon, but not the "main" icon as shown.

I have tried to use different code, like this:

CurrentDb.Properties("AppIcon").Value = CurrentProject.Path & "\myicon.ico"

Application.RefreshTitleBar

But still no updates for the "application" icon.

PS:

This code has been working for several years, but lately its not updating the "application" Icon.

Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
849 questions
{count} votes