是否可以在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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
WinRAR 可以帮助您做到这一点。
一个。选择“静音”提取;
b.设置提取路径;
c.创建提取路径,然后将该图标文件放在那里,选择该路径中的图标。
d.设置在提取 exe 文件后运行 hta(c:\your_path\your.hta) 。
(我无法提供更多详细信息,因为我现在没有安装 WinRAR,这是为 hta 添加图标的常见方法。)
每次用户运行您创建的 exe 时,它只会将 hta、图标提取到您指定的路径,然后运行您的 hta。 exe文件会有图标显示,甚至复制到另一台计算机上。
如果正确完成所有工作,您将获得一个带有您定义的图标的 exe 文件。
顺便说一句,您也可以尝试谷歌:hta exe icon
祝您好运!
WinRAR can help you do that.
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!
是的,您当然可以:这个。您将图标嵌入 hta 文件中
Yup, you sure can: this. You embed the icon in the hta file
更好你使用 Exescript 软件
它很好,因为它易于使用,并将图标添加到资源文件(出现在 hta 的顶部边框上)
之后,将设置菜单中的图标添加到 Exe 文件并构建项目,
您将获得带有自定义图标的 exe 文件。
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.