自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

转载 Much Improved .NET 4.0 WPF Text Rendering

转载于 http://karlshifflett.wordpress.com/2009/10/22/much-improved-net-4-0-wpf-text-rendering/In .NET 4.0 WPF text rendering has been greatly improved. However this new feature is not enabled by default. You can read the complete feature write up on the WPF

2010-08-11 14:10:00 603

转载 Keep the console open long enough to see your program's output

<br />http://www.cplusplus.com/forum/articles/7312/<br /> 

2010-07-22 15:50:00 393

原创 How to detect "edit mode" in excel

Excel does not provide an interface for outside components to detect "Edit mode" (e.g. when a cell is accepting input), though in Excel itself it can do it. In addition, when Excel is in "Edit M

2010-05-13 10:20:00 773

原创 Change File Attributes

介绍几种可以改变文件属性的免费工具 File Touch  1.0+ The FileTouch application was designed to be a small tool that modifies file date / times on individual files, or sets of files. No installation, simply copy &

2010-04-27 14:58:00 628

翻译 Interop Object在.Net中的引用计数问题

如何正确的释放Interop reference是一个有趣的问题,有时候会让程序运行的莫名其妙。基本上,我们在.Net中访问的每一个COM对象都有一个称为RCW (Runtime Callable Wrapper))的包装。一个RCW对应一个COM实例,其是分配在managed heap上的一种轻量级对象,然而它所包装的对象确是分配在native heap上的。RCW对象同样有一个名为refCou

2010-03-08 18:05:00 1564

原创 用C#中用默认浏览器打开网址

在C#桌面程序中用下面的方法打开网址可能会出现System.ComponentModel.Win32ExceptionSystem.Diagnostics.Process.Start(sUrl); 这个异常是随机并且会看到一个空白的IE窗口,网页无法打开。找了一下相关的信息:Launch URL in Default Browser using C#Opening a

2010-01-18 17:58:00 1739

翻译 WPF控件中位图模糊问题

 由于种种原因,WPF控制中位图模糊的问题很严重。http://blogs.msdn.com/dwayneneed/archive/2007/10/05/blurry-bitmaps.aspx对于其根本原因,是因为WPF的显示绘制是独立于设备的。http://support.microsoft.com/kb/960015从下面的文章中找到一种简单的解决办法,可以对付大多数情况。

2009-11-19 15:13:00 1753

转载 CPPUNIT TDD问题汇总

CppUnit项目主页:http://sourceforge.net/projects/cppunit/CppUnit Wiki Page:http://sourceforge.net/apps/mediawiki/cppunit/CppUnit论坛:http://www.nabble.com/CppUnit---C%2B%2B-port-of-JUnit-f3851.html

2009-10-28 14:46:00 489

转载 [WPF] Popup your control

Popup your controlhttp://blogs.msdn.com/wpfsdk/archive/2007/04/27/popup-your-control.aspx

2009-10-16 18:44:00 435

转载 [WPF] Binding ContextMenu to its logical Parent

ContextMenu是个非常奇怪的家伙,它一直处于组件树的根部。 http://blogs.charteris.com/blogs/patl-closed/archive/2007/02/01/Binding-ContextMenu-to-its-logical-Parent.aspx

2009-10-16 18:43:00 574

原创 [WPF] BitmapEffects Issue

BitmapEffects are not supported on popupshttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/71a1da61-9e6e-47e5-be20-6190aedc3c95 Never using BitmapEffects on live contenthttp://social.

2009-10-15 14:41:00 388

原创 [WPF] How to dynamic bind Menuitem's Header and Icon

There is no way to bind Menuitems Header and Icon at the same time in WPF 3.5.I post this question at MSDN:http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/13dd8f46-90e4-4530-9766-17336

2009-10-14 10:24:00 646

原创 BitmapImage.UriSource binding doesn't work ...

最近做WPF开发中遇到很多怪事,越发感觉WPF不是一个足够成熟的技术。 如果你的代码中还有这样的绑定:会在运行中遇到错误Property UriSource or property StreamSource must be set. 需要使用一个converter将URL对象转换成ImageSource,详见http://www.wiredprairie.u

2009-10-13 11:15:00 1044

翻译 Why WPF's Text is Blurry?

比较权威的结论在这里,一句话,等WPF4.0吧,其它无解。 https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=380919 中文看这里 http://dev.yesky.com/48/7675048.shtml

2009-09-23 15:35:00 482

翻译 Outlook 2007 Issues for Developers

最近在看outlook 2007开发的问题,发现真是一团糟。现整理一些问题如下:参考文章:http://www.outlookcode.com/article.aspx?id=59 1. 在Inspector Active事件中访问WordEditor 需要特别MSDN中Inspector.WordEditor属性中的这段说明:The WordEditor prop

2009-09-04 19:26:00 500

转载 正则表达式学习笔记

因项目开发需要,用正则表达式解析点东西。现将收集到的参考资料汇总如下:正则表达式30分钟入门教程(入门)(非常好用的教程,真的是30分钟搞定)正则表达式之道(入门)竹笋炒肉: 正则表达式学习笔记关于正则表达式学习 来自 Awflasher,介绍了一些相关正则表达式测试工具。REGex TESTER 一个英文版的正则表达式测试工具。附有一些常见例子。

2009-09-03 17:58:00 444

翻译 Vista下面的msxml.dll跑哪里去了?

Vista下的Visual C++开发人员,可能或多或少的都遇到过这个问题,之前导入XML库的代码出现问题。#import // just like weve always done异常:fatal error C1083: Cannot open type library file: msxml.dll: No such file or directory

2009-08-31 19:13:00 2384

翻译 MIDL工具生成的TLB文件中大小写问题

用MIDL将IDL文件生成TLB文件时,有时定义的方法或属性的大小写会变掉。其原因是因为MIDL是一个大小写不敏感的工具。官方的说法是:The IDL and Type library are not case sensitive by design. The Ole Automation code that is called by MIDL to generate the type

2009-07-10 15:26:00 1016

原创 Casting Strings

曾经头痛C++中的各种字符转换,整理了一些东西放到google的notebook上,没有时间再搬到这里了。放个链接吧。http://www.google.com/notebook/public/12368762606508414704/BDRByDQoQkO3utvoj

2009-07-06 17:25:00 445

原创 从这里开始

之前一直在163的blog记录自己的收藏和心得,但苦于没有办法很好的显示代码,索性搬家到这里。原blog:http://blog.163.com/who_i250/blog/ 

2009-07-06 11:33:00 621

转载 _com_ptr_t的使用

转载自:http://blog.csdn.net/wishfly/archive/2007/05/27/1627528.aspx 对于COM调用,大量的AddRef/Release调用无疑是例行公事和让人生厌。_com_ptr_t 是vc运行库中提供的固有的封装COM接口的智能指针,相比CComPtr/CComQIPtr缺少移植性,但是支持不是ATL实现部分的的异常和操作。以下

2009-03-27 15:46:00 845

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除