摘要: netsh winsock resethttp://baike.baidu.com/view/4043887.htm#sub4043887 阅读全文
posted @ 2011-04-20 14:21 任国强 阅读(405) 评论(0) 推荐(0) 编辑
摘要: http://labs.cas.de/silverlight/CASCRMSL3/http://www.msvevent.com/ 阅读全文
posted @ 2011-04-16 22:58 任国强 阅读(452) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --><svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.or 阅读全文
posted @ 2011-04-11 19:02 任国强 阅读(2553) 评论(0) 推荐(1) 编辑
摘要: http://www.shinedraw.com/text-effect/flash-and-silverlight-3d-text-space/ 阅读全文
posted @ 2011-03-25 17:09 任国强 阅读(358) 评论(0) 推荐(0) 编辑
摘要: http://blogs.msdn.com/b/tonyschr/archive/2007/01/19/ie-automation-amp-tabs.aspx 阅读全文
posted @ 2011-03-21 16:45 任国强 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Silverlight 1.x Implemented eMagazine.First annuced:It' implmented by JavaScript,not .net。Silverlight is so at that time. Let'strytounderstits' thought.Thought is important than anythings I think.http://msdn.microsoft.com/en-us/magazine/cc507644.aspxDemo Show: http://silverlight.net/cont 阅读全文
posted @ 2011-03-20 23:19 任国强 阅读(554) 评论(3) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/508034/how-to-stop-asp-net-from-loading-all-assemblies-from-bin-on-first-load 阅读全文
posted @ 2011-03-17 14:19 任国强 阅读(148) 评论(0) 推荐(0) 编辑
摘要: http://forums.asp.net/t/1303052.aspx/1?Tell+IIS+to+load+dll+from+another+directory+not+Bin+web+config+http://www.hanselman.com/blog/PermaLink.aspx?guid=4d0ef4fb-f8ae-4355-a658-3c0432c98dbe<<CLR via C#>>中文第三版 56页 阅读全文
posted @ 2011-03-17 14:15 任国强 阅读(274) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/gg696937.aspx 阅读全文
posted @ 2011-03-17 13:26 任国强 阅读(199) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/gg696955.aspx 阅读全文
posted @ 2011-03-17 13:25 任国强 阅读(400) 评论(0) 推荐(0) 编辑
摘要: http://www.google.com/support/googleanalytics/bin/answer.py?answer=55488&utm_source=DiscoverList&utm_medium=et&utm_campaign=cn&hl=cn 阅读全文
posted @ 2011-03-15 15:15 任国强 阅读(269) 评论(0) 推荐(0) 编辑
摘要: explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4786explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4316explo 阅读全文
posted @ 2011-03-15 10:05 任国强 阅读(252) 评论(0) 推荐(0) 编辑
摘要: explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4786explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4316explor 阅读全文
posted @ 2011-03-15 10:04 任国强 阅读(285) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="http://api.map.baidu.com/api?key=b9f6baa86431c277d63400cc3ae8b606&v=1.0&services=true" /><script type="text/vbscript"><!--const L_FullScreenWarn1_Text = "当前的安全设置不允许自动切换到全屏模式。"const L_FullScreenWarn2_T 阅读全文
posted @ 2011-03-15 09:44 任国强 阅读(2647) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <style type="text/css"> .highlight { background-color: yellow; } .gray { background-color: Gray; } </style> <script src="http://code.jquery.com/jquery-1.5.js"></script></head><body> <ul> <l 阅读全文
posted @ 2011-03-15 09:30 任国强 阅读(294) 评论(0) 推荐(0) 编辑
摘要: Notepad++的\1是啥用来着? \1用在被替换的表达式中,用于替换查找的表达式中第一个匹配组,例如,你查找abc(.*)123,替换为456\1def,标识查找所有以abc开头,以123结尾的字符串,替换开头的abc为456,结尾的123为def。 替换表达式中\1就表示查找表达式中的(.*) 阅读全文
posted @ 2011-02-24 15:51 任国强 阅读(398) 评论(1) 推荐(0) 编辑
摘要: 转 CSS 打印:http://eblog.nenu.edu.cn/user1/easter/archives/2008/1864.html 阅读全文
posted @ 2011-02-24 12:52 任国强 阅读(195) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { List<DateTime> DateList = new List<DateTime>(); DateList.Add(DateTime.Parse("2011-02-10")); DateList.Add(DateTime.Parse("2011-02-09")); DateList.Add(DateTime.Parse("2011-02-10")); DateList.Add(DateTime.Parse("2011-02-11")); DateList.Add(D 阅读全文
posted @ 2011-02-21 10:22 任国强 阅读(284) 评论(0) 推荐(0) 编辑
摘要: http://wenku.baidu.com/view/9193a9fe910ef12d2af9e717.htmlhttp://baike.baidu.com/view/73535.htm 阅读全文
posted @ 2011-02-11 09:39 任国强 阅读(157) 评论(0) 推荐(0) 编辑
摘要: testhttputility.batwscript GET http://msdn.microsoft.com/en-us/ff972295httputility.jsif (WScript.Arguments.length 2){ WScript.echo("Client HTTP Request Utility\n"); WScript.echo("usage: httprequest method uri [options]"); WScript.echo(); WScript.echo(" -f filename"); WScript.echo(" -h headerName h 阅读全文
posted @ 2011-01-25 23:26 任国强 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 用蜘蛛天天爬京东。再比较页面数据变化,产生一个价格变化图。这违法不? 阅读全文
posted @ 2011-01-19 20:06 任国强 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 再怎么能吸金,也得调用访问网络的dll.从这下手,哪个系统都可以。让用户上传安装程序,服务器解开包,查dll的引用关系。服务器可以指派dll ref walker. 阅读全文
posted @ 2011-01-18 20:13 任国强 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 手机能通过sim卡,提供定位服务。台式机当初可没这么架构,笔记本电脑是另外一回事。 阅读全文
posted @ 2011-01-18 20:04 任国强 阅读(867) 评论(0) 推荐(0) 编辑
摘要: http://waf.codeplex.com/wikipage?title=Architecture%20-%20Get%20The%20Big%20Picture 阅读全文
posted @ 2010-12-23 13:12 任国强 阅读(247) 评论(0) 推荐(0) 编辑
摘要: http://code.msdn.microsoft.com/wpfsamples 阅读全文
posted @ 2010-12-23 12:56 任国强 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 1.ListView,DataGrid要想能正常的显示垂直滚动条。  ListView,DataGrid在Document Outline中任何一级祖先节点都不可以是StackPanel。DockPanel某些情况下,可以实现你想要的完美的替代解决方案。2.ListView千万不能直接放ScrollViewer里。  此操作可引来巨大的UI变慢,甚至无响应的问题。3.ItemControl不能随便乱用的,有时会引来巨大的UI无响应问题。4.ListView在不同的主题下,如:Windows Classic && Windows 7 Aero下。ListView内嵌的控件是不同的。5.ListV 阅读全文
posted @ 2010-12-14 13:45 任国强 阅读(736) 评论(0) 推荐(0) 编辑
摘要: Bug 现象,点击Clear button后,操作一下UI,发现ListView的里仍然能保留第一行,太匪夷所思了。以下是测试程序的代码:<Window x:Class="WpfApplication37.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://... 阅读全文
posted @ 2010-11-17 17:23 任国强 阅读(623) 评论(3) 推荐(0) 编辑
摘要: 两台硬件和软件配置完全相同的机器A和B,现在要用系统自带的Copy功能把A上的一个文件,复制到B上。在哪台机器上执行程序,效率更高? 阅读全文
posted @ 2010-11-16 12:54 任国强 阅读(318) 评论(2) 推荐(0) 编辑
摘要: http://www.hardcodet.net/2008/01/wpf-treeview 阅读全文
posted @ 2010-11-03 14:33 任国强 阅读(938) 评论(1) 推荐(0) 编辑
摘要: <!-- FocusVisual --><Style x:Key="ButtonFocusVisual"> <Setter Property="Control.Template"> <Setter.Value> <ControlTemplate> <Border> <Rectangle Margin="2" Stroke... 阅读全文
posted @ 2010-10-19 15:55 任国强 阅读(703) 评论(1) 推荐(1) 编辑
摘要: http://social.msdn.microsoft.com/Forums/en-SG/wpf/thread/5b614ec5-9366-44f2-ad35-5865fa86547e <Button> <Button.Template> <ControlTemplate TargetType="Button"> <Grid Height="24" Wi... 阅读全文
posted @ 2010-10-13 13:03 任国强 阅读(374) 评论(0) 推荐(1) 编辑
摘要: 下面两种语法,只是变相的形式而已。    for (int i = 0; i < dgETL.Items.Count; i++) { CheckBox selectCheckBoxInCell = dgETL.Columns[0].GetCellContent(dgETL.Items[i]) as CheckBox; if (selectCheckBoxInCell != null) { s... 阅读全文
posted @ 2010-09-02 18:51 任国强 阅读(5453) 评论(3) 推荐(0) 编辑
摘要: 今天,从http://www.SereneScreen.com下载了正版的热带鱼屏保程序->Marine Aquarium 3.安装之后,查找到MarineAquarium3.scr,但是正版是要Key Code的,我是不会买也懒得买。那可怎么办呢。首先分析问题,所以尝试用VS的File->open菜单,看看能否看到资源文件,( 基本VC++写的程序,都是多多少少会有一些资源文件的)。... 阅读全文
posted @ 2010-08-28 23:22 任国强 阅读(1878) 评论(0) 推荐(0) 编辑
摘要: 1.网易的网盘改版后,出现过拖拽后,鼠标不能离开窗口标题的现象(估计是JS逻辑不正确),我专门抓了个图,结果不知道发给谁,那个客户反馈也忒混乱了吧。最后,就不了了之了。也许现在这个问题修复了,这算是“用户体验”问题吗?不知道网易如何看待“用户的反馈渠道”。2.今天在博客看,看到迅雷的面试题,好像问到迅雷的改进之处,略作思考,算我比较坏,给他挑点毛病。... 阅读全文
posted @ 2010-08-24 23:47 任国强 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 今天又使用WPF 的DataGrid,发现了一个稍微隐蔽的问题。http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/5cc4f719-8b16-440b-ada9-657564f0097b/In my try. Datagrid's parent container and super-parent containers must be... 阅读全文
posted @ 2010-08-11 16:41 任国强 阅读(1476) 评论(1) 推荐(1) 编辑
摘要: Flash,Silverlight,Vrpie2 Control,这些控件,归根结底,就是把封装了一些Windows API或者MFC的函数功能,向上层的用户提供编程或者设计接口。本质来说它们都是IE 中的潜入的ActiveX Control。我感觉还是Flash和Silverlight强大,Vrpie2 Control就差些了。为什么这么说,看看下图就知道了。Vrpie2 Control的类库图... 阅读全文
posted @ 2010-07-27 19:31 任国强 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 1.COM使用了GUID,但是GUID在没有网卡的情况下,也就不准确了。只能用统计学意义上的唯一性,来含糊其辞。2.NET用NameSpace,但是公司足够庞大,产品线众多,缩略语盛行的年代。部门之间缺乏交流的情况下,也保不齐两个应用或类库里出现相同的NameSpace。但是,从整体来思考的话,NameSpace考虑更周全,而GUID对无法处理的情况,似乎有些躲避和遮掩。注:COM的GUID,建议... 阅读全文
posted @ 2010-07-27 14:51 任国强 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 晚上,想了这样一个场景:第1幕:有一个表格,每个格子里都有数字。Action:表格采用渐变的消逝方式,从屏幕上消失。第2幕:表格消失了,只剩下数字。Action:表格完全消失后,数字开始摇晃,移动,像监狱中混乱的囚犯,四散冲突奔跑。第3幕:有些数字跑出来了,成逃犯了。 阅读全文
posted @ 2010-07-07 12:04 任国强 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 人类相对于普通动物更高级,其中一个比较显著的特点就是在于人类能够更好地使用工具,甚至是复杂的工具。有的人把软件行业比喻成江湖,我觉得很贴切。大家也都看过武侠小说,江湖人士,基本都有个刀枪棍棒,斧钺钩叉之类的兵器。作为程序员,要想在软件江湖里行走,那自然也少了也有几个看家的家当。当然,要是程序员中的思维缜密之致者,可能达到无器胜有器的境界,完全可以快速开发自己的利具。但是如果您还没达到上面的境界,下... 阅读全文
posted @ 2010-06-06 23:09 任国强 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1. 组态软件运行的操作系统:DOS、Windows、Linux。DOS下运行的组态软件,经过科技发展日新月异的洗礼,估计已经淡出市场。那个时代最具代表性的产品,就是美国WonderWare公司的InTouch产品。Windows以其巨大的市场占有率,几乎包揽了组态软件的绝大部分组态软件的运行平台。国内外的组态软件厂商也自然是数量众多,各有千秋。因为Windows 操作系统的使用的培训的普及,以及... 阅读全文
posted @ 2010-05-09 13:09 任国强 阅读(747) 评论(0) 推荐(0) 编辑