摘要: 0. backup all your projects and code first;1. use project auto convertion;2. if possible, update the reference component to vs2k5 release version;3. before converting, remove the readonly property fro... 阅读全文
posted @ 2005-12-10 16:05 margiex 阅读(293) 评论(0) 推荐(0)
摘要: 1. identity(1,1) -> auto_increment;2. datetime -> timestamp3. default getdate() -> default now()4. rid of "[]"5. change sql comment "--" to "#"6. default value if in (), should rid of '()';7. replace ... 阅读全文
posted @ 2005-11-29 20:25 margiex 阅读(338) 评论(0) 推荐(0)
摘要: ref: http://www.codeproject.com/dotnet/RegexTutorial.asp . Match any character except newline \w Match any alphanumeric character \s Match any whitespace character \d Match any d... 阅读全文
posted @ 2005-11-22 09:47 margiex 阅读(256) 评论(0) 推荐(0)
摘要: ref: 你们的时间有限,所以不要浪费时间或在别人的生活里。不要被信条所惑 – 盲从信条是活在别人的生活里。不要让任何人的一件淹没了你内在的心声。作重要的,拥有跟随内心和直觉的勇气。你的内心与直觉知道你真正想成为什么样的人。任何其他事物都是次要的。 斯蒂夫 乔布斯 (苹果公司总裁) 2005年斯坦福大学毕业典礼 李开复的第五封信:http://blog.joycode.com/sunm... 阅读全文
posted @ 2005-11-22 09:19 margiex 阅读(258) 评论(0) 推荐(0)
摘要: 主要是提供对vs 2005 及.net 2.0的支持,同时修正了一些bug.对于没有使用vs team suite的人而言,可以将nunit集成到vs 2005 professional了.http://sourceforge.net/projects/nunit 阅读全文
posted @ 2005-11-17 08:31 margiex 阅读(344) 评论(0) 推荐(0)
摘要: run program in other path and back to original path.@echo offrem get current pathset curpath=%cd% rem run the java classcd /D C:\windows\system32java Client %1=%2 rem return to current pathcd /... 阅读全文
posted @ 2005-11-14 20:28 margiex 阅读(336) 评论(0) 推荐(0)
摘要: 只能输入数字:“^[0-9]*$”只能输入n位的数字:“^\d{n}$”只能输入至少n位数字:“^\d{n,}$”只能输入m-n位的数字:“^\d{m,n}$”只能输入零和非零开头的数字:“^(0|[1-9][0-9]*)$”只能输入有两位小数的正实数:“^[0-9]+(.[0-9]{2})?$”只能输入有1-3位小数的正实数:“^[0-9]+(.[0-9]{1,3})?$”只能输入非零的正整数:... 阅读全文
posted @ 2005-11-14 20:09 margiex 阅读(287) 评论(0) 推荐(0)
摘要: you can start it by command line:Start /B WebDev.WebServer.exe /port:7171 /path:"F:\My Web Site" 阅读全文
posted @ 2005-11-14 14:40 margiex 阅读(251) 评论(0) 推荐(0)
摘要: 1. run tlntadmin.exe in console.2. change the telnet port to another value, not default 21.3. change NTLM to 1, the default is 2. if it's 2, u can't telnet the server on other computer.4. start tlntsv... 阅读全文
posted @ 2005-11-10 18:11 margiex 阅读(283) 评论(0) 推荐(0)
摘要: Navigate to the setup subfolder on the VS 2005 DVD and run VS 2005 as follows to skip all prerequisite checks - setup.exe /NO_BSLN_CHECK -or- Launch regedit.exe Go to HKEY_LOCAL_MACHINE\System\Curr... 阅读全文
posted @ 2005-11-10 10:02 margiex 阅读(516) 评论(0) 推荐(0)