摘要: 在初始化对象后设置属性如下: uint IOC_IN = 0x80000000; uint IOC_VENDOR = 0x18000000; uint SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12; //uc为接收数据所使用的UdpClient,不同程序自 阅读全文
posted @ 2018-08-26 11:47 WandererNet 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 1、找到以下位置目录下相应的文件db2nodes.cfg C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2COPY1\DB2\db2nodes.cfg C:\Documents and Settings\All User 阅读全文
posted @ 2017-05-26 10:13 WandererNet 阅读(871) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?><configuration> <system.serviceModel> <client> <endpoint address="net.tcp://192.168.6.101:8000/DataAccessService" binding="netTcpBinding" bindingConfiguration="netTcpBindingSmiple" con 阅读全文
posted @ 2012-08-16 20:13 WandererNet 阅读(1497) 评论(1) 推荐(0) 编辑
摘要: 步骤:1.CMD进入命令提示符,control userpasswords2(注意2前面的s,输入错误是没有界面弹出的),将Administrator 改为Admin,密码保持不变或修改为即将使用的密码,此时密码为A字符串(XXXXXXXX)2.添加新用户Administrator 密码必须与实际使用的密码相同,即应为A字符串(XXXXXXXX),注意帐户权限也应该为管理员。3.注销当前帐户(已改为Admin的帐户),登陆Administrator(新建的)4.创建指纹登陆(注意,THINKPAD用户会有对话框询问是否使用作为登陆使用,一定要选择是,否则创建的指纹只能用于登陆THINKPAD的 阅读全文
posted @ 2012-07-26 08:28 WandererNet 阅读(4680) 评论(0) 推荐(1) 编辑
摘要: DB2命令 阅读全文
posted @ 2012-04-16 15:00 WandererNet 阅读(227) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Bright.HIS.Data{ public class Icon { #region Win32 API [System.Runtime.InteropServices.DllImport("shell32.dll", EntryPoint = "ExtractAssociatedIcon")] private static extern IntPtr ExtractA 阅读全文
posted @ 2012-04-07 14:54 WandererNet 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 任务计划Windows Server 2008系统环境下,“任务计划”功能得到很大的增强,晚上可以计划运行备份,整体编译,性能测试计划等,让服务器的利用率更高,。自动定时启动在系统工具中打开“任务计划程序” 单击右侧的“创建任务”,打开创建任务对话框,输入名字 触发器选项卡 新建一个触发器,设置如下,保存 选择操作选项卡,新建一个操作,并选择要定期执行的程序文件,确定 你可以将这个操作导出来,重复使用 阅读全文
posted @ 2012-02-18 14:41 WandererNet 阅读(786) 评论(0) 推荐(0) 编辑
摘要: 自定义文本编辑器,继承UserControl控件,只能输入英文,这个问题困扰了我几天,现已经解决,发出来与大家共享.输入中文最简单方法只需要重写CanEnableIme方法即可 protected override bool CanEnableIme { get { return this.ImeSupported; } }private bool ImeSupported { get { ret... 阅读全文
posted @ 2009-09-06 09:51 WandererNet 阅读(329) 评论(0) 推荐(0) 编辑
摘要: [DllImport("user32.dll")] static extern bool CreateCaret(IntPtr hWnd, IntPtr hBitmap, int nWidth, int nHeight); [DllImport("user32.dll")] static extern bool ShowCaret(IntPtr hWnd); [DllImport("User32.... 阅读全文
posted @ 2009-09-05 18:02 WandererNet 阅读(279) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;using System.IO;namespace AutoUpdate{ /// <summary> /// FTP 的摘要说明。 ///... 阅读全文
posted @ 2009-07-31 15:31 WandererNet 阅读(3216) 评论(0) 推荐(0) 编辑