代码改变世界

Adobe Flash Player ActiveX VS. Adobe Flash Player Plugin

2010-11-21 20:06 by Johnny Qian, 1193 阅读, 0 推荐, 收藏, 编辑
摘要:在Windows的卸载程序里面,看到有两个关于Adobe Flash Player的卸载项,一个是Adobe Flash Player ActiveX,另一个是Adobe Flash Player Plugin。很想搞清楚它们之间有啥关系,在网上找了找,整理如下。 阅读全文

%CommonDir%\publish.tlb could not be loaded

2010-11-10 15:33 by Johnny Qian, 1819 阅读, 0 推荐, 收藏, 编辑
摘要:这些天打开VS时,老是弹出下面的对话框,很烦,但是点OK后是可以进入VS的。网上查找原因无果,在磁盘中也找不到这个文件。于是在另外一台VS能正常运行的机器上找这个文件,嘿嘿,还真有,目录位置为:C:\Program Files\Common Files\microsoft shared\MSEnv。于是拷贝到对应的目录,再次打开VS,哈哈,对话框没有了。高兴一下,免除了重新安装的麻烦。不过没明白这个文件到底是怎么丢失的。估计是打补丁造成的,但机器上打了N多VS、SQL 和系统的补丁,鬼知道哪个补丁导致这个文件的丢失。 阅读全文

在VSTS中设置Beyond Compare作为文件比较工具

2010-09-30 11:20 by Johnny Qian, 567 阅读, 0 推荐, 收藏, 编辑
摘要:Here's how to set Beyond Compare up as the comparison tool: In Visual Studio, click menu Tools / Options... Expand Source Control in the treeview. Click Visual Studio Team Foundation Server in treeview. Click button Configure User Tools... Click button Add... Enter .* in the Extension textbox Choose Compare in Operation combobox Click button ... next to Command textbox Browse to BCompare.exe in file chooser and click button Open Enter %1 %2 /title1=%6 /title2=%7 into the Arguments textbox. Ok on 阅读全文

How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista/7

2010-09-19 11:52 by Johnny Qian, 1072 阅读, 0 推荐, 收藏, 编辑
摘要:Windows Vista and Windows 7 power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista and Windows 7 that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command promp 阅读全文

关闭Windows 7中的 Program Compatibility Assistant

2010-09-18 01:57 by Johnny Qian, 1296 阅读, 0 推荐, 收藏, 编辑
摘要:感觉微软总喜欢把简单问题复杂化。安装几个小软件也老是弹出这样的对话框。 阅读全文

What do CTP, RC, RTM, RTW mean?

2010-09-17 10:04 by Johnny Qian, 492 阅读, 0 推荐, 收藏, 编辑
摘要:I always wanted to find the precise meaning of the acronyms Microsoft uses to refer to the stage of a product in the software release life cycle. 阅读全文

.NET Execution Model

2010-09-06 15:53 by Johnny Qian, 466 阅读, 0 推荐, 收藏, 编辑
摘要:Today's post will continue the quest of answering the "How .NET works?" question exactly where previous post stopped, at .NET assembly structure. In case you haven't read that post already, I suggest you to do that before proceeding with this post. 阅读全文

.NET Assembly Structure

2010-09-06 15:48 by Johnny Qian, 685 阅读, 0 推荐, 收藏, 编辑
摘要:Every once in a while, I've been asked by a non .NET developer (VB6, C++ etc) to explain "how .NET works, how GC works, why boxing is bad etc". I'm usually trying to find a link and save some of my time but for some of the subjects i am not able to find the appropriate ones (either they are too wide or too short and partial in presenting answers). Therefore, to save me some time in a future repeating the same whiteboard session I decided to make a couple of blog post explaining .NET foundations 阅读全文

Could not write lines to file/Unable to delete file, Access to the path is denied.

2010-08-23 13:14 by Johnny Qian, 1030 阅读, 0 推荐, 收藏, 编辑
摘要:When you get code from TFS or VSS, and you build the project, you may encounter the following error or warning message: Error : Could not write lines to file "obj\Activities.csproj.FileList.txt". Access to the path '\obj\Activities.csproj.FileList.txt' is denied. Activities Warning :Unable to delete file "\bin\Debug\MMOneTest.dll.config". Access to the path is denied. 阅读全文

什么是好的编程字体:等宽字体

2010-07-30 16:55 by Johnny Qian, 4570 阅读, 1 推荐, 收藏, 编辑
摘要:作为程序开发者,每天打交道最多的就是程序代码了,而每天读写几千行的代码让眼睛很容易产生疲劳,我自己对此已经是深恶痛绝了.为了保护自己眼睛同时提高自己的代码读写效率,显然是要从显示程序代码的字体入手.下面讲讲我编程多年以来代码字体的选择之路. 阅读全文