I have created an HTA for my organization. The app is supposed to run at all times that you're logged into your desktop. I have the icon variable set in my heading <hta:application | icon="c:\app folder\name.ico" | />. The
| represents new line, so I could write all 3 on one. So when the app initially launches, it has the icon I want. But at some time it WILL revert back to theSystem Application Icon. Is there any way to prevent it from reverting? Is there anything I can write into the script to reinitialize the icon? I have a test button that I programed to reload the HTA, but that doesn't appear to refresh
the icon after it reverted.
update: When the HTA launches the first time, it copies the icon from a server to the user's local computer and points to it from there, so it's not an issue with network latency.