Bakudan
Bakudan

Reputation: 19492

Is it possible to add custom icon to hta

Is it possible to add custom icon to hta? What I mean is change the default hta file icon, which is "System Application Icon". Can it be done without assigning new icon to the extension, and not using shortcuts to the file ? Like this

alt text

Upvotes: 3

Views: 8545

Answers (3)

Hamsledge
Hamsledge

Reputation: 13

Better You use Exescript Software

It's Good because ease of its use and add icon to resource file (which appears on top border of hta)

After that add icon in settings menu to Exe File and build the project

U will get a exe file with custom icon.

Upvotes: 0

ahgood
ahgood

Reputation: 1937

WinRAR can help you do that.

  1. Package your hta & icon file to exe;
  2. In options, a. select "silent" extract; b. set extract path; c. create extract path and then put that icon file there, select icon in this path. d. set run your hta(c:\your_path\your.hta) after exe file extracted. (i could not provide more detail because i don't have WinRAR installed right now, it's a common way to add icon for hta.)

Every time user run the exe you created, it will just extract hta, icon to the path you specified, and then run your hta. the exe file will have the icon display, even copy to another computer.

If you get all work done correctly, you will get a exe file with the icon you defined.

BTW, you can also try google: hta exe icon

Good luck!

Upvotes: 3

xXhRQ8sD2L7Z
xXhRQ8sD2L7Z

Reputation: 1716

Yup, you sure can: this. You embed the icon in the hta file

Upvotes: 0

Related Questions