导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页

2011年4月16日

摘要: http://www.sqlite.org/lang_transaction.htmlhttp://www.sqlite.org/cvstrac/wiki?p=DatabaseIsLocked遇到回滚事务时数据库锁定的问题。当sql语句(select)执行过程中出现错误(访问reader中不存在的索引),抛出异常,在异常中进行数据库事务回滚,数据库锁定,回滚失败。如果在此之前有其他数据库操作删除,更新,插入,有可能会出现数据库修改异常的问题。为确保不出现数据库更改错误,运用ON CONFLICT clausehttp://www.sqlite.org/lang_conflict.html将 & 阅读全文

posted @ 2011-04-16 12:10 ccjvl 阅读(594) 评论(0) 推荐(0) 编辑

2011年3月29日

摘要: 转自:http://blog.csdn.net/qyc898/archive/2010/06/28/5700563.aspx源代码翻译工具基本完成了,只剩下最后问题:就是对字符串进行替换时,怎么无视原文的大小写。因为C#里的string.Replace是不能无视大小写的。首先想到的是正则表达式,在网上查了下,果然有用正则表达式配合一些逻辑运算,实现无视大小写的字符串替换方法。但是正则表达式的方法用起来很麻烦,实验证明速度也不是最快。而我要说的是用起来最方便,执行速度也是最快的一种。就是使用Microsoft.VisualBasic命名空间里的Strings。首先添加引用Microsoft.Vi 阅读全文

posted @ 2011-03-29 15:28 ccjvl 阅读(568) 评论(0) 推荐(0) 编辑

2011年3月24日

摘要: There are so many differentsabout the search function of filebetween Windows 7 and windows xp, so if your settings are not correct, the results are not expected.(Windows 7和windows xp的搜索方式有了较大的改变,所以会导致明明文件夹中有那个文件,结果却搜索不出来,这不是windows 7的搜索功能垃圾,而是没有设置好搜索选项。)The files for test search function of windows 阅读全文

posted @ 2011-03-24 14:28 ccjvl 阅读(2099) 评论(0) 推荐(0) 编辑

2011年3月22日

摘要: When you attempt to "live" preview an attachment in Outlook 2007's reading pane and uncheck the box to "Always warn before previewing this type of file", if you want to restore this setting, you'll need to edit the registry. Subkeys for each file type is stored in HKEY_CU 阅读全文

posted @ 2011-03-22 13:39 ccjvl 阅读(584) 评论(0) 推荐(0) 编辑

2011年2月18日

摘要: usingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Drawing; usingSystem.Text; usingSystem.Windows.Forms; usingSystem.Xml; namespaceXMLDOMDemo { publicpartialclassForm1:Form { publicForm1() { InitializeComponent(); } privatevoidbtnLoad_Click(object 阅读全文

posted @ 2011-02-18 20:57 ccjvl 阅读(240) 评论(0) 推荐(0) 编辑

2011年2月14日

摘要: 打开 Tools\Extension Manager 这个扩展管理器,搜索“visual studio color theme editor”,我们就能看到一个名为“visual studio color theme editor”的扩展,下载安装好这个扩展,重新启动 Visual Studio ,在 View菜单后面就会多出一个 Theme 菜单来,里面已经预置了几种主题,当然,有兴趣的话,还可以自己弄一套出来。 阅读全文

posted @ 2011-02-14 16:55 ccjvl 阅读(235) 评论(0) 推荐(0) 编辑

2011年1月26日

摘要: The integration between Outlook 2007 and Internet Explorer’s RSS system will slow down Outlook 2007. If you do not want to use Outlook 2007 for your feed reader or aggregator, here is how to remove this feature from Outlook.Sadly, there is no command, option, or registry hack to hide the RSS icon or 阅读全文

posted @ 2011-01-26 14:25 ccjvl 阅读(860) 评论(0) 推荐(0) 编辑

2011年1月24日

摘要: http://liulike.blog.51cto.com/1355103/295938近日在一个偶然的机会发现了一个问题,有一台新安装Windows 7的计算机加入域后,重启进入登录界面时,其输入法默认被设置为“微软拼音”输入(如图1)。 图1 出现这个问题本来是不会影响计算机的正常使用的。但是,当用户在输入用户名时,由于大多数时候用户名是全英文字符串,在这种情况下就十分不方便,经常由于忘记切换回英文输入法而导致错误的操作(如图2)。 图2 此时的用户往往会将操作取消,或通过快捷键,或通过鼠标切换到英文输入法(如图3),这样多多少少会带来些许麻烦和不便。 图3 那么要怎样的操作才能为Wind 阅读全文

posted @ 2011-01-24 22:51 ccjvl 阅读(335) 评论(0) 推荐(0) 编辑

2011年1月21日

摘要: 问题: 程序集加载跟踪: 下列信息有助于确定程序集“Interop.Excel, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null”无法加载的原因。警告: 程序集绑定日志记录被关闭。要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。注意: 会有一些与程序集绑定失败日志记录关联的性能损失。要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。 本机环境:WINDOWS X 阅读全文

posted @ 2011-01-21 21:59 ccjvl 阅读(565) 评论(0) 推荐(0) 编辑

摘要: 方法是修改注册表,方法如下:1、首先 win+r2、打开运行程序3、输入: regedit4、找到: 计算机\HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\currentversion\Explorer\FileExts\.lnk会发现有openwithlist 和 openwithprogids 两项,如果有其他的选项将其删除5、再将openwithlist 内的除默认以外的所有键值都删除6、将openwithprogids内的除默认和lnkfile以外的所有键值都删除.7、保存退出即可8、重启计算机。 阅读全文

posted @ 2011-01-21 21:35 ccjvl 阅读(3850) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页