Reputation: 6057
I wanted to know if there was a simple way to change my HTA application's icon I have found answers but it always uses another program
Upvotes: 1
Views: 10007
Reputation: 136
In Windows 10, change the syntax slightly
<HTA:application
icon = 'path_to_icofile'
>
Upvotes: 0
Reputation: 23396
To use a custom icon for HTA, you'll need an .ico
file. Then you can assign an icon to a file in <HTA>
like this:
<HTA:application
icon = "path_to_icofile"
>
By my experience, Windows7 doesn't have full support for all features forHTA
object. Unfortenately icon
is one of those partly non-supported features. The file with custom icon occasionally looses its icon and uses some random icon instead.
You can read more about HTAs at MSDN.
Upvotes: 4