巫妖天下 - LichSky

关于作者:专注于微软平台项目架构、管理和企业解决方案。熟悉各类技术手段、架构设计、开发和项目管理。现主要从事项目开发、架构、管理工作。

C# 注册表读写

注册表中 HKEY_LOCAL_MACHINE\SOFTWARE\AppSetting 目录下
[CODE_LITE]
//using Microsoft.Win32;

string theConStr = "";
private void button1_Click(object sender, EventArgs e)
{

服务器配置

服务器配置
-------------------------------
(CPU)Intel Xeon E5606 
(主板)INTEL 5500BC    
(硬盘)ST(希捷) 1TB 
(内存)金士顿 DDR2 400 ECC 
(其他)1U加长机箱 台达1U 500W电源

Win2003 server key

JK6JC P7P7H 4HRFC 3XM7P G33HM

C# 定时及日志记录

[CODE_LITE]
//using System.Timers;
int perTime = 5000; //定时 毫秒
System.Timers.Timer aTimer = new System.Timers.Timer();
aTimer.Elapsed += new ElapsedEventHandler(TimeEvent);
aTimer.Interval = perTime;
aTimer.Enabled = true;

//======================================
...

百度商桥打开无反应

regsvr32 /s /u msxml3.dll
regsvr32 /s /u msxml6.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml6.dll

一段代码2

[CODE_LITE]
NSString* xingming = @"小明";
NSString* xingbie = @"男";
NSString* nianling = @"16";
NSString* shenggao = @"170";

NSString* xingming1 = @"小胡";
NSString* xingbie1

一段代码

[CODE_LITE]
NSString* aa = [[NSString alloc] initWithFormat:@"QQ群~~team~~1~~1388888888(马化腾)~~我是傻比,娃哈哈,我最爱喝的饮料!!!!!~~0,0,8,u_79150329640.5,>"];

//根据 ~~ 切割 aa 变成 ary数组
NSArray* ary = [a

一些笔记

try catch 语句
[CODE_LITE]
NSArray *arr = [NSArray arrayWithObjects:@"1",@"2", nil];
@try {
NSString *fuckfuck = [arr objectAtIndex:4];
NSLog(@"fuckfuck = %@",fuckfuck);
}
@catch (NSException *exception) {
NSLog (@"Caught %@%@", [exception name], [exception reason]);
...
分页:[«]1[»]

Powered By Z-Blog 1.8 Walle Build 100427

Copyright 巫妖天下(lichsky@163.com) All Rights Reserved.