上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页
摘要: Windows Service这一块并不复杂,但是注意事项太多了,网上资料也很凌乱,偶尔自己写也会丢三落四的。所以本文也就产生了,本文不会写复杂的东西,完全以基础应用的需求来写,所以不会对Windows Service写很深入。本文介绍了如何用C#创建、安装、启动、监控、卸载简单的Windows Service 的内容步骤和注意事项。一、创建一个Windows Service1)创建Windows Service项目2)对Service重命名将Service1重命名为你服务名称,这里我们命名为ServiceTest。二、创建服务安装程序1)添加安装程序之后我们可以看到上图,自动为我们创建了Pr 阅读全文
posted @ 2013-09-06 18:26 马语者 阅读(552) 评论(0) 推荐(0)
摘要: JS// Starting in 2 seconds.// a projectile will be launched every 0.3 secondsvar projectile :Rigidbody;InvokeRepeating("LaunchProjectile", 2, 0.3);function LaunchProjectile () {instance = Instantiate(prefab);instance.velocity =Random.insideUnitSphere* 5;}C#using UnityEngine;using System.Co 阅读全文
posted @ 2013-09-05 16:30 马语者 阅读(11304) 评论(0) 推荐(0)
摘要: 这段时间搞dcom的东西,然后按照网上说的,用dcomcnfg打开管理器,在dcom中我的电脑里面属性中把默认身份验证级别改为 无。然后再使用的时候,发现win7中的账户管理里面,什么账户都没有了,不能添加新的账户,也不能修改现有账户。郁闷死了。后来搞了半天,发现是这个问题,把 无 改回 默认就可以了。实际上改回默认后,dcom还是可以照样使用的。 阅读全文
posted @ 2013-08-22 12:56 马语者 阅读(3543) 评论(0) 推荐(0)
摘要: private void btnASPNET_Click(object sender, EventArgs e) { Dictionary postParams = new Dictionary(); postParams.Add("txtLoginId", "www.cnuunet.com"); postParams.Add("txtPassword", "www.cnuunet.com"); postParams.Add("btnLogin", "Sign in"); t 阅读全文
posted @ 2013-08-21 21:49 马语者 阅读(3164) 评论(0) 推荐(0)
摘要: 这是登录校内网的代码呵呵自己注册一个试试吧我的账号和密码就不给了 不过可以加我为好友 冯洪春 貌似校内上就我一个Form1.cs代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;using System.Net;namespace WebRequestToLo 阅读全文
posted @ 2013-08-21 16:30 马语者 阅读(597) 评论(1) 推荐(0)
摘要: 同事推荐的使用手机控制电脑的方法,这下做PPT,趟床上看电影方便多了。真的很赞,还能远程桌面!!!下载地址 阅读全文
posted @ 2013-08-19 16:23 马语者 阅读(410) 评论(0) 推荐(0)
摘要: 当有大量数据需要计算、显示在界面或者调用sleep函数时,容易导致界面卡死,可以采用多线程加委托的方法解决using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;namespace MutiThread{ public partial class Fo... 阅读全文
posted @ 2013-08-19 15:44 马语者 阅读(19091) 评论(0) 推荐(7)
摘要: http://binarysandbox.com/template/index.html 阅读全文
posted @ 2013-08-19 11:25 马语者 阅读(248) 评论(0) 推荐(0)
摘要: HTML Agility Pack:簡單好用的快速 HTML ParserCodeplex 軟體套件(Package)資訊套件名稱HTML Agility Pack作者Simon Mourier目前版本1.4.0 Beta 2URLhttp://htmlagilitypack.codeplex.com/使用難易度中使用此套件時可用的輔助工具HAP Explorer(可在上述 URL 找到)Internet Explorer 8 開發者工具基礎知識HTMLXML 和 XPath最好有使用過 System.Xml 命名空間中的 XmlDocument 類別,以及其 SelectNodes() 或 阅读全文
posted @ 2013-08-17 15:53 马语者 阅读(2285) 评论(1) 推荐(0)
摘要: Visual Studio 2010如期发布了,我怀着迫不及待的心情马上下载了最新的ISO来安装和感受一下。.NET Framework 自从 2002 年发展至今,已经历了好几个版本,1.0, 1.1, 2.0, 3.0, 3.5 等不同的版本更替,.NET Framework 的Redistributable Package也愈来愈大,到了 .NET Framework 3.5 SP1 时已经膨胀到 231MB,除非软件本身就很大,不然对于 .NET 软件的Redistribute是相当不利的,除非客户端本身就有安装 .NET Framework,否则几乎都要夹带一个 .NET Frame 阅读全文
posted @ 2013-08-17 15:24 马语者 阅读(1979) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页