随笔分类 -  软件开发:.NET

摘要:http://blog.csdn.net/lllllllllluoyi/article/details/8540054首先向360说句sorry,在2011年360极速浏览器出现的时候我去他们论坛里骂过。为什么要到歉呢,因为2012年我把我们公司使用IE WebBrowser改为Chrome控件了,... 阅读全文
posted @ 2014-11-26 20:33 Max Woods 阅读(10065) 评论(1) 推荐(0) 编辑
摘要:开门见山,不废话了, 直接举例说明一下:比如发送ALT + F以下是 用spy++截取的消息内容 000310DC P WM_SYSKEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:... 阅读全文
posted @ 2014-09-13 10:30 Max Woods 阅读(829) 评论(1) 推荐(1) 编辑
摘要:最近在学习WCF X.509证书验证,想实现使用证书实现服务端和客户端的双向认证,实现原理是利用了数字证书包含的一对非对称密钥来实现数字签名及加密。所谓非对称密钥是采用两个密钥将加密和解密能力分开:一个公钥和一个私钥,公钥可解密私钥加密的信息,私钥也可以解密公钥加密的信息,前者用于数字签名后者用于信... 阅读全文
posted @ 2014-05-18 20:27 Max Woods 阅读(440) 评论(0) 推荐(0) 编辑
摘要:笔者正在用C#开发一个名为XWriter的文本编辑器,其中需要提供对RTF文档的支持,以前从没有搞过RTF文档,因此临时突击研究了一下,经过几天的学习研究和实践,对C#操作RTF文档有所了解,因此才可以写出此文给予说明,希望能对其他人学习RTF文档格式有所帮助。 RTF文档格式是微软提出的一种用于描述带格式文本的文档格式,上个世纪就提出来了,一直用到现在,而且很多程序都支持这种格式,微软的Office软件家族,Windows写字板软件等等都支持,而且Windows操作系统的剪切板和OLE拖拽操作也支持RTF文档,这样就允许不同的软件通过RTF格式相互交流带格式文本。比如我用的VS.NET20. 阅读全文
posted @ 2012-10-24 17:27 Max Woods 阅读(870) 评论(0) 推荐(0) 编辑
摘要:在SOA环境中,经常遇到时间,日期错乱的情况明明在A端发的日期是2012-05-11,B端却收到2012-05-10, 什么情况?原因在于.net的反序列化会自动把DateTime类型的字段,转为本地时间e.g. 如果B所在的服务器,本地时区设置为太平洋时间 -7区:"2012-10-21" 转化为 "2012-10-21 12:00:00 AM" "2012-10-21-07:00" 转化为"2012-10-21 12:00:00 AM" "2012-10-21+00:00" 转化为" 阅读全文
posted @ 2012-10-07 22:46 Max Woods 阅读(374) 评论(0) 推荐(0) 编辑
摘要:一、官方Download1、CKEditor:点击CKEditor.NET标题下的“Download zip”按钮此处使用当前最新版本“CKEditor.NET 3.5.2, released on 7 March 2011”2、CKFinder:点击Asp.net标签下的“Download zip”或者“Download tar.gz”按钮(PS:两个按钮下载的内容一样,说明)此处使用当前最新版本“version: 2.0.2, updated 03.03.2011”——CKEditor是新一代的FCKEditor,很明显的不同点是CKEditor中文件上传功能独立出来了,需要配合使用CKF 阅读全文
posted @ 2012-09-08 01:45 Max Woods 阅读(241) 评论(0) 推荐(0) 编辑
摘要:CKFinder2.0.1 免費版始終顯示 This is the demo version of CKFinder. Click here to visit our web site其實裏面的 信息都是在 ckfinder.js裏面寫者,他只是把 字符轉譯成短十六进制 的形式你要把里面的字删掉就ok代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->\x54\x68\x69\163\040\151\x73\x20\x74\x68\145\x 阅读全文
posted @ 2012-09-08 01:43 Max Woods 阅读(221) 评论(0) 推荐(0) 编辑
摘要:1)DotnetnukeThe most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is avail 阅读全文
posted @ 2012-09-03 00:44 Max Woods 阅读(426) 评论(0) 推荐(0) 编辑
摘要:下载了DotNetNuke_Community_06.02.02_Source 源代码,运行报了个strMessage = DataProvider.Instance().GetProviderPath() 异常,什么情况?原来是配置文件的问题,解决办法是:把web.config干掉,因为里面确实没啥,然后把development.config或Release.config复制并重命名为web.config。 阅读全文
posted @ 2012-09-02 02:00 Max Woods 阅读(257) 评论(0) 推荐(0) 编辑
摘要:如图,分别建立客户端项目ROTestClient,服务端项目ROTestServer路径分别为ROTest\Client和ROTest\Server先从服务端开始,使用ServiceBuilder建立服务端方法创建新的服务取名为TestService,点击“AddOperation”创建新的方法创建新方法“AppendString”,包含a,b两个字符串参数,返回值为字符串string关闭对话框,保存至ROTest\Server目录,命名文件为“TestService”给ROTestServer项目添加服务端定义文件,右键,添加,现有项选择“所有文件”,选择“TestService.rodl” 阅读全文
posted @ 2012-08-21 00:10 Max Woods 阅读(540) 评论(0) 推荐(0) 编辑
摘要:为了能清楚地描述Web Service 和Remoting之间得区别,我打算从他们的体系结构上来说起: Web Service大体上分为5个层次: 1. Http传输信道 2. XML的数据格式 3. SOAP封装格式 4. WSDL的描述方式 5. UDDI 总体上来讲,.NET 下的 Web Service结构比较简单,也比较容易理解和应用: 一般来讲在.NET结构下的WebService应用都是基于.net framework以及IIS的架构之下,所以部署(Deployment)起来相对比较容易点. 从实现的角度来讲: 首先WebService必须把暴露给客户端的方... 阅读全文
posted @ 2012-07-18 15:24 Max Woods 阅读(245) 评论(0) 推荐(0) 编辑
摘要:打开vs2010找到工具----->选项----->IntelliTrace将(启用IntelliTrace)这一项取消,然后确定高级---->将目录拷下来然后找到此目录并删除。行了,看一下c盘可用空间大了好多了吧。 阅读全文
posted @ 2012-04-29 00:37 Max Woods 阅读(258) 评论(0) 推荐(0) 编辑
摘要:设置以下属性 dateEdit1.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True; dateEdit1.Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True; 设置显示长日期模式(精确到秒): dateEdit1.Properties.DisplayFormat.FormatString="G"(一定要大写哦!~) dateEdit1.Properties.DisplayFormat.FormatType=DateT 阅读全文
posted @ 2011-10-11 17:02 Max Woods 阅读(1309) 评论(0) 推荐(0) 编辑
摘要:DevExpress 的控件相当好看而且很好用,但 DateEdit 在是显示周名时,只能显示一个“星”字。以下是解决方法,此解决方法不需修改其源码,所以免去了重新编译的必要,可直接使用其发布的标准DLL。 public class MyDateEdit : DevExpress.XtraEditors.DateEdit{protected override DevExpress.XtraEditors.Popup.PopupBaseForm CreatePopupForm() {return new MyPopupDateEditForm(this);}}public class MyPop 阅读全文
posted @ 2011-10-11 16:59 Max Woods 阅读(550) 评论(0) 推荐(0) 编辑
摘要:工具→导入导出设置→重置所有设置 阅读全文
posted @ 2011-10-08 10:45 Max Woods 阅读(336) 评论(0) 推荐(0) 编辑
摘要:1 private DataSet LoadFile(string fileName) 2 { 3 DataSet ret = new DataSet(); 4 System.Data.OleDb.OleDbConnection myConnection = new System.Data.OleDb.OleDbConnection(); 5 //You should consider using "HDR=NO", to get numbered ColumnNames in your DataSet. 6 myConnection.Conn... 阅读全文
posted @ 2011-09-24 10:59 Max Woods 阅读(437) 评论(0) 推荐(0) 编辑
摘要:http://sourceforge.net/projects/koogra/ 阅读全文
posted @ 2011-09-24 10:55 Max Woods 阅读(453) 评论(0) 推荐(0) 编辑
摘要:在devexpress中,换肤就很简单,不需要我们自己去制造皮肤,官文就有很丰富的皮肤包。下面来讲解一下这个问题。 注意,我这儿用的是DevExpress 8.1.5,在老版本中可能不支持。如果是7.x的版本,请见demo中的源代码。 第一步:让所有窗体都从DevExpress.XtraEditors.XtraForm继承。 第二步:添加两个引用: DevExpress.BonusSkins.v8.1 DevExpress.OfficeSkins.v8.1 第三步:在软件的入口Program类的main函数的第一行代码前加上: DevExpress.User... 阅读全文
posted @ 2011-09-16 00:01 Max Woods 阅读(1113) 评论(1) 推荐(0) 编辑
摘要:Microsoft Silverlight is a programmable web browser plug-in that enables features including animation, vector graphics, and audio-video playback–features that characterize Rich Internet Applications. Silverlight makes possible the development of RIA applications in familiar .NET languages such as C# and VB.NET. Silverlight is a great (and growing) Line of Business platform and is increasingly being used to build busines 阅读全文
posted @ 2011-01-21 18:29 Max Woods 阅读(805) 评论(0) 推荐(0) 编辑
摘要:A hands-on guide to Microsoft’s latest rich application development technology: Silverlight 4Silverlight 4 is the newest version of the rich Internet application toolkit that provides support for .NET capabilities over the Internet. With this latest release of Silverlight, Microsoft has revolutionized the way that Web applications can be created. This book uses the popular Problem – Design – Solution strategy to demonstrate 阅读全文
posted @ 2011-01-21 18:26 Max Woods 阅读(475) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示