如何在vb 2008中为应用程序提供图标 [英] how to give icon to the application in vb 2008

查看:48
本文介绍了如何在vb 2008中为应用程序提供图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何在vb

can anyone plz tell me how to give icon to a application in vb

推荐答案

中从 ^ ]:
From http://www.vb-helper.com/howto_net_app_icon.html[^]:
使用诸如Windows资源管理器之类的应用程序查看可执行文件时,将显示该应用程序的图标.它在大图标"显示中显示一个32x32像素的大图标,在其他显示中显示一个16x16像素的图标.

在项目资源管理器"中右键单击该项目,然后选择属性".打开公共属性"文件夹,选择生成"项目,然后设置应用程序图标"值.您可以选择嵌入在项目中的图标资源,也可以选择图标文件.

要制作嵌入式图标资源,请制作图标文件.您可以使用外部工具或IDE的图标编辑器.就个人而言,我喜欢在MSPaint或其他程序中绘制图标,然后将其复制并粘贴到集成的图标编辑器中.

将图标文件添加到项目后,在项目资源管理器中选择它.然后在属性"窗口中,将其构建操作"属性设置为嵌入式资源"./blockquote>
The application''s icon is displayed when you view the executable with applications such as Windows Explorer. It displays a large 32x32 pixel icon in its Large Icon display and a 16x16 pixel icon in its other displays.

Right-click the project in Project Explorer and select Properties. Open the Common Properties folder, select the Build item, and set the "Application icon" value. You can either select an icon resource embedded in the project or select an icon file.

To make an embedded icon resource, make the icon file. You can use an external tool or the IDE''s icon editor. Personally, I like to draw the icon in MSPaint or some other program and then copy and paste it into the integrated icon editor.

After you add the icon file to the project, select it in Project Explorer. Then in the Properties window, set its Build Action property to Embedded Resource./blockquote>


这篇关于如何在vb 2008中为应用程序提供图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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