Windows应用程序的默认图标 [英] default icon for windows applicaton

查看:632
本文介绍了Windows应用程序的默认图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在部署Windows应用程序时如何设置默认图标.安装已部署的Win应用程序后,我得到一个文件类型(默认)图标.默认图标应该是我选择的图标.

How to set default icon while deploying windows application. i am getting a file type(default) icon after installing my deployed win application. default icon should be my selected one

推荐答案

转到项目的属性(如果有多个,则为Windows应用程序类型的项目)

选项卡``应用程序''(第一个)

您可以在其中选择一个图标.

对此不确定,但我认为您必须在安装程序中包含该图标文件(如果您有安装程序).
Go to the properties of your project (the windows application type project in case you have several)

Tab ''Application'' (first one)

There you can choose a icon.

Not sure about this but I think you have to include that icon file into your setup (if you have a setup).


我确实做到了,但仍然无法获取图标.谁能.....请帮助
i did but still i am unable to get icon. Can any one.....please help


取决于分辨率等系统设置,甚至可能取决于操作系统,使用了不同大小的图标.例如,可能有一个图标设置为显示16x16图标,但操作系统希望显示32x32图标.确保您的图标具有所需的图像类型.如果使用Visual Studio,则可以在那里打开图标进行编辑.然后在当前图标图像类型"下的图像"菜单中检查.您可以添加其他一些图像类型",它们实际上只是图标的其他版本,具有不同的大小和/或不同的颜色集.我通常会确保我的图标至少具有以下图像类型:
16x16 4位
32x32,4位
16x16,8位

所有这些都严格用于.ico文件.

希望这会有所帮助.
Depending upon system settings like resolution, etc, and maybe even the OS, different size icons are used. For example, it''s possible that you have an icon that is setup to display a 16x16 icon but the OS wants to display a 32x32 icon. Make sure that your icon has the needed Image Type. If you use Visual Studio, you can open your icon there to edit it. Then check in the Image menu under Current Icon Image Types. You could add a few other "Image Types" which are really just other versions of your icon in a different size and/or different set of colors. I usually make sure my icons have at least these Image Types:
16x16 4 bit
32x32, 4 bit
16x16, 8 bit

All of this is strictly for a .ico file.

Hope this helps.


这篇关于Windows应用程序的默认图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆