图标图像问题 [英] problems with icon image

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

问题描述

我在 Windows 7 机器上使用 Visual Studio 2010 创建了一个 c# 应用程序.我在表单中添加了一个图标图像,并且该图标在我运行该应用程序的所有 Windows 7 机器上都能正常显示.但是当我尝试在 XP 机器上运行它时,它不允许该程序在桌面上运行或显示图像.对此有什么建议吗?

Im creating a c# application using visual studio 2010 on a windows 7 machine. I added an icon image to to my form and the icon shows up fine on all windows 7 machines I run the application on. But when I try and run it on an XP machine it doesn't allow the program to run or display the image on the desktop. Any suggestions on this?

推荐答案

您的图标大小不适合 Windows XP.Windows XP 默认无法处理大图标格式(默认为 48x48我认为在 XP 中最大).Windows Vista 和 7 处理 256x256.它也可能只是格式错误.尝试删除该图标并验证它是否解决了问题.您可能还想尝试重新格式化您的图标文件(使用 Icon Workshop 之类的软件).

Your icon is sized improperly for Windows XP. Windows XP can't handle large icon format by default (48x48 is default max I think in XP). Windows Vista and 7 handle 256x256. It could also simply be malformed. Try removing the icon and verify that it corrects the problem. You may also want to try to reformat your icon file (with software like Icon Workshop).

这篇关于图标图像问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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