posted @ 2008-06-20 16:56 叶落无痕 阅读(2322) 评论(0) 推荐(0) 编辑
摘要:
有时用picturebox的image的save方法保存一个图像会有A generic error occurred in gdi+ error的错误提示。多加几行代码,用这个方法可以实现保存1using(FileStreamfs=newFileStream(imgFile,FileMode.Create))2{3pbPhoto.Image.Save(fs,ImageFormat.Jpeg);4}... 阅读全文
摘要:
好像在/etc/environment文件里加入LC_CTYPE=”zh_CN.UTF-8″并在putty里面的translation选项里选UTF-8就可以了,当前,前提是之前用dpkg-reconfigure locales设置默认的locale为utf-8 阅读全文
posted @ 2008-02-28 16:31 叶落无痕 阅读(4613) 评论(1) 推荐(0) 编辑
摘要:
from http://cuimingda.cnblogs.com/异常信息:Unrecognized configuration section 'connectionStrings'这个异常信息出现在我用虚拟目录访问一个ASP.NET网站时,把Web.Config删除掉,可能还会提示下面这个信息:Parser Error Description: An error occurred durin... 阅读全文
posted @ 2007-08-13 11:25 叶落无痕 阅读(2569) 评论(0) 推荐(0) 编辑
摘要:
配置过程提示configure:error:Nocurses/termcaplibraryfound 安装ncurses apt-getinstalllibncurses5-dev 阅读全文
posted @ 2007-07-19 16:13 叶落无痕 阅读(1054) 评论(0) 推荐(0) 编辑
摘要:
What are the disadvantages of using return codes for error handling?They don't separate exceptional logic from normal logic as well as exceptions do, they impose avoidable overhead, and they can't be ... 阅读全文
posted @ 2007-07-17 21:16 叶落无痕 阅读(453) 评论(0) 推荐(0) 编辑
摘要:
A framework is a set of class hierarchies plus models of interaction and cooperation between the various objects of the various hierarchies. The framework defines a generic program structure that is s... 阅读全文
posted @ 2007-07-17 20:58 叶落无痕 阅读(211) 评论(0) 推荐(0) 编辑
摘要:
先留一下,以后如果用昨上就到MSDN查一下 Asynchronous Pluggable Protocols 阅读全文
posted @ 2007-06-18 10:14 叶落无痕 阅读(472) 评论(0) 推荐(0) 编辑
摘要:
症状:打开包含图片或对象的MicrosoftOfficeWord2007文档时,图片或对象不显示。产生原因: •以草稿视图或大纲视图查看Word文档; •“在屏幕上显示图形”选项已关闭; •“打印在Word中创建的图形”选项已关闭; •“使用草稿品质”选项已打开; •视频驱动程序遇到问题而导致。解决方法: 1、关闭“图片框”选项 如果关闭“图片框”选项,则能够在所有视图中查看图片... 阅读全文
posted @ 2007-06-02 10:00 叶落无痕 阅读(34676) 评论(7) 推荐(2) 编辑