﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-[刚子]</title><link>http://www.cnblogs.com/lixg84/</link><description /><language>zh-cn</language><lastBuildDate>Fri, 05 Sep 2008 05:41:57 GMT</lastBuildDate><pubDate>Fri, 05 Sep 2008 05:41:57 GMT</pubDate><ttl>60</ttl><item><title>QQ登录器的分层实现之四(登录的实现以及快捷键的注册)‏</title><link>http://www.cnblogs.com/lixg84/archive/2008/05/02/1179533.html</link><dc:creator>[刚子]</dc:creator><author>[刚子]</author><pubDate>Fri, 02 May 2008 06:48:00 GMT</pubDate><guid>http://www.cnblogs.com/lixg84/archive/2008/05/02/1179533.html</guid><wfw:comment>http://www.cnblogs.com/lixg84/comments/1179533.html</wfw:comment><comments>http://www.cnblogs.com/lixg84/archive/2008/05/02/1179533.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/lixg84/comments/commentRss/1179533.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lixg84/services/trackbacks/1179533.html</trackback:ping><description><![CDATA[摘要:  不好意思啊，前两天一直在忙，都没有时间更新博客，上期我们讨论到地XML存储文件的读写，为我们今天的登录实现奠定了基础。QQ的登录，在前面我们说过了，只是启动进程，在Process.Start()里加入启动参数而已，并没有大家想的那么复杂，我们在软件的界面层里操作，下面我们一睹为快。 这里的界面，我仿造了来自网上的一款QQ登录器的界面，并加入了一些皮肤。 我们先来写添加帐号，由于添加帐号和修改帐号&nbsp;&nbsp;<a href='http://www.cnblogs.com/lixg84/archive/2008/05/02/1179533.html'>阅读全文</a><img src ="http://www.cnblogs.com/lixg84/aggbug/1179533.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42101/" target="_blank">[新闻]淘宝网合并阿里妈妈 专家称阿里巴巴或有新战略</a>]]></description></item><item><title>QQ登录器的分层实现之三(业务实现)‏ </title><link>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175955.html</link><dc:creator>[刚子]</dc:creator><author>[刚子]</author><pubDate>Tue, 29 Apr 2008 04:54:00 GMT</pubDate><guid>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175955.html</guid><wfw:comment>http://www.cnblogs.com/lixg84/comments/1175955.html</wfw:comment><comments>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175955.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.cnblogs.com/lixg84/comments/commentRss/1175955.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lixg84/services/trackbacks/1175955.html</trackback:ping><description><![CDATA[摘要:  前面我们谈到了XML文件的创建和添加数据，其实对XML文件的操作有很多种途径，可以用DataSet,DataTable数据集方式，也可以直接用XmlDocument对象，还可以用XMLReader,XMLWriter对象来读写，各有所长啊，用什么就看各位的习惯和真实环境了，在这里我们用XmlDocument对象来直接操作它，可以方便大家了解XML的基本结构，这也是XML操作的基础。我们接着前面的&nbsp;&nbsp;<a href='http://www.cnblogs.com/lixg84/archive/2008/04/29/1175955.html'>阅读全文</a><img src ="http://www.cnblogs.com/lixg84/aggbug/1175955.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42096/" target="_blank">[新闻]微软研究院发布 AutoCollage - 整理并融合照片</a>]]></description></item><item><title>QQ登录器的分层实现之二(业务实现)‏</title><link>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175837.html</link><dc:creator>[刚子]</dc:creator><author>[刚子]</author><pubDate>Tue, 29 Apr 2008 03:23:00 GMT</pubDate><guid>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175837.html</guid><wfw:comment>http://www.cnblogs.com/lixg84/comments/1175837.html</wfw:comment><comments>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175837.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnblogs.com/lixg84/comments/commentRss/1175837.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lixg84/services/trackbacks/1175837.html</trackback:ping><description><![CDATA[摘要:  昨晚刚写完第一部份,就得到很多朋友的关注，谢谢大家，现在继续第二部份的内容。先说明一下该工程是用VS2005实现的，其实用什么工具都无所谓，实现是一样的。Config.cs是XML文件操作类，我们这里把它定为配置，所以叫config，Account.cn是QQ帐号实体类，包括了QQ的一些属性，下面我们来一起写吧。 在该软件中，我们主要是为了实现QQ的自动登录，所以实体类中应包括QQ帐号，QQ密码&nbsp;&nbsp;<a href='http://www.cnblogs.com/lixg84/archive/2008/04/29/1175837.html'>阅读全文</a><img src ="http://www.cnblogs.com/lixg84/aggbug/1175837.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42096/" target="_blank">[新闻]微软研究院发布 AutoCollage - 整理并融合照片</a>]]></description></item><item><title>QQ登录器的分层实现之一(系统设计)</title><link>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175359.html</link><dc:creator>[刚子]</dc:creator><author>[刚子]</author><pubDate>Mon, 28 Apr 2008 16:06:00 GMT</pubDate><guid>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175359.html</guid><wfw:comment>http://www.cnblogs.com/lixg84/comments/1175359.html</wfw:comment><comments>http://www.cnblogs.com/lixg84/archive/2008/04/29/1175359.html#Feedback</comments><slash:comments>13</slash:comments><wfw:commentRss>http://www.cnblogs.com/lixg84/comments/commentRss/1175359.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lixg84/services/trackbacks/1175359.html</trackback:ping><description><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;前些天跟一位盲人朋友聊天，谈到现在的网络应用上，朋友对现在的网络发展很是赞叹，虽然自己看不见，但无形的网络还是给看不见的自己带来了光明，上网&#8220;浏览&#8221;网页，收听广播，电视节目，聊QQ。但是又工具的不完善还是有多多少少的助碍了上网的灵活性，就比如说，上网聊QQ，市面上的QQ登录器都没有快捷键功能，每次登录QQ还得跟据读屏软件的指导来操作，很不方便！为此，我也搜了一下相关资料，为其定制了一款带有快捷键功能的QQ登录器。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要实现该软件的基本功能，首先要了解如何启动QQ，并把帐号和密码附加上去。通过QQ同TM之间的切换运行，我们知道，在进程启动中附加了如下的参数：<font face="Verdana">"/START QQUIN:"+QQ帐号+" PWDHASH:"+QQ密码+" /STAT:"+登录状态，这里的密码是通过加密后的密码，如果不加密的话QQ程序会报告密码错误的，登录状态为&#8220;是否隐身登录&#8221;,&#8220;40&#8221;表示隐身登录，&#8220;41&#8221;表示不隐身。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 知道QQ登录的秘密后才发现，原来要实现它也不难，下面我们就来构建该软件了。功能分为：启动QQ，登录QQ，添加帐号，修改帐号，删除帐号，快捷键设置。要管理到QQ帐号和密码，就涉及到文件存储，存储信息的方式有多种，有数据库，文本文档，XML等方式。这里我们采用XML文件格式，原因是这种文件存储格式通用，易读(相对于文本格式来说)，又比数据库形式要灵活。通过以上分析可见，该软件的主要编码工作就变成了存储文件的读写了。下面我们会讲到如何进行XML文件的操作。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 系统结构分为：文件操作层(Config.cs)，业务实体层(Account.cs),表示层(loginForm.cs)我们在空白解决方案中加入以下工程：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img height="328" alt="" src="http://www.cnblogs.com/images/cnblogs_com/lixg84/001.jpg" width="217" border="0" /></font></p>
<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第一篇暂写到这里，下一篇我们开始讨论用于存QQ帐号的XML文件的读写。<br />
</p>
</font>
<img src ="http://www.cnblogs.com/lixg84/aggbug/1175359.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42096/" target="_blank">[新闻]微软研究院发布 AutoCollage - 整理并融合照片</a>]]></description></item><item><title>LC.exe”已退出，代码为 -1</title><link>http://www.cnblogs.com/lixg84/archive/2007/10/19/929970.html</link><dc:creator>[刚子]</dc:creator><author>[刚子]</author><pubDate>Fri, 19 Oct 2007 02:05:00 GMT</pubDate><guid>http://www.cnblogs.com/lixg84/archive/2007/10/19/929970.html</guid><wfw:comment>http://www.cnblogs.com/lixg84/comments/929970.html</wfw:comment><comments>http://www.cnblogs.com/lixg84/archive/2007/10/19/929970.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/lixg84/comments/commentRss/929970.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lixg84/services/trackbacks/929970.html</trackback:ping><description><![CDATA[<p>今天在网上下了一段Demo,编译运行，竟然报错：<font face="Verdana">LC.exe&#8221;已退出，代码为 -1</font><br />
在网上搜了一下，原来是许可证编译器。删除Properties文件下的license.licx即可，也有的说要删除全部*.licx文件，但我怎么试，都是没通过。尚不知何解！<br />
</p>
<img src ="http://www.cnblogs.com/lixg84/aggbug/929970.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42100/" target="_blank">[新闻]2008年9月5日科技博客精选</a>]]></description></item></channel></rss>