最新评论

共3页: 1 2 3 下一页 
谢谢了。楼主写的非常好。
Re:P2P之UDP穿透NAT的原理与C#实现 dream2 2010-12-08 10:57  
你好,我现在需要用C#来做一个聊天软件,涉及到UDP协议等这些东西。我不太懂,刚才看我你写的这些代码有一部分不是很清楚,希望你能给我解答一下,谢谢.我的QQ:705105029 MSN:SoftWare_Dream@hotmail.com
我太笨了,还是没看懂
Re:SQL Server全文索引的个人总结 window5549-accp 2010-04-15 13:17  
SQL Server全文索引
Re:js闭包演示 Jegged 2010-03-11 10:19  
很好很强大
的确如此,不过我觉得应加个SetWindowOrg()函数的解释,不然的话,一样会遇到很多不解,还有,前面的负号应该说明下。
真是难得的狗屁文章啊。
有人来看了
不知道LZ想过为什么是-500, -500, 500, 500;根据他的配套图看左上为-500,500右下为500,-500?为什么哪?
Re:Switch TOR's Identity 黄飞 2009-09-27 12:11  
您好,我编程调用tor时遇到点问题,希望能得到你的指点,QQ:460564,感激不尽
我根据你的源码更改了一下。。可以关闭桌面的。。
首先用这两个API TerminateProcess
CloseHandle
关闭主进程句柄。。然后再调用CloseDesktop 即可关闭桌面。。
谢谢,不错
不正确
re: Switch TOR's Identity 大球 2008-12-04 01:42  
谢谢楼主,我的软件也正需要这个功能,感谢您提供的信息!
re: Switch TOR's Identity 迷彩使者 2008-09-08 21:38  
您好,我最近也在研究TOR里的一些东西,有个问题想问你,在TOR的源代码中有好多常变量名字,搞了半天也搞不懂是什么意思,比如newnym,rephist,sighup等,如果你有时间并且乐于助人的话,能不能给我解释一下啊。上面有我的EMAIL,QQ是184928803。先谢了。
dsfhgsdfsfdhsf
re: Switch TOR's Identity 房客 2008-07-10 17:38  
提供更改身份功能,主要是为了实现在程序中,不需要用户参与,就可以切换身份。
re: Switch TOR's Identity WorkTimer 2008-07-10 16:10  
不要在国内做Tor中继服务,因为国内已经把维基百科 和sourceforge.net 等很多和谐了,如果tor用户访问时无意中使用了国内的tor中继服务做出口,他会同样访问不了这些网站。会造成国外tor使用者困惑。更改身份功能在Vidalia提供了,可以直接点击。
re: Switch TOR's Identity 房客 2008-07-08 08:53  
相对于BT来说,确实是慢了很多,全是当初BT何尝不是这样一步一步走过来的呢?
在TOR地图中,可以看到,中国只有三到五个红点,而在欧美,是一片一片的红。就目前这个现状,在国内,使用TOR你想让它网速有多快?
只有更多的人参与到其中来,并且提供中继服务,才能将中国的TOR网络加速。

另一个方面来说,中国电信也在封杀TOR,一些TOR组织的网站都给屏蔽了 。这也给中国的TOR的发展带来一定的阻力。毕竟使用TOR之后,电信将不再能通过IP地址来确认身份了。对于身处TOR的你,每时每刻的Identity都不一样。这,就是匿名TOR网络带来的便利。
re: Switch TOR's Identity 蓝海. 2008-07-08 01:46  
不知博主是否可以提供整下个PROJECT的工程吗?
这样看到的效果会比较好点.
re: Switch TOR's Identity real estate up 2008-07-07 23:26  
上找到切换的命令,之后
re: Switch TOR's Identity 560889223 2008-07-07 22:38  
tor,洋葱路由,通过全世界的志愿者的tor服务网络将你的数据传输到另一端,具有不可追踪、消息加密的特点,可以穿过长城。
re: Switch TOR's Identity Klesh Wong 2008-07-07 20:37  
什么?
re: Switch TOR's Identity neoragex2002 2008-07-07 19:15  
tor速度太慢,没用
re: Switch TOR's Identity Phinecos(洞庭散人) 2008-07-07 18:21  
TOR是什么?
re: Switch TOR's Identity lexus 2008-07-07 18:10  
什么时tor?
re: Switch TOR's Identity 房客 2008-07-07 17:53  
yes,send switch command to server's port for change ip
re: Switch TOR's Identity A.Z! 2008-07-07 17:47  
strCmd = "signal NEWNYM\r\n";
?
mark
re: 让javascript跑得更快(转) 房客 2008-06-10 09:03  
由英文翻译过来的,可能看起来是有些晕。
re: 让javascript跑得更快(转) 火无极 2008-06-05 22:07  

看晕了@@@@@@
re: Treeview绑定数据源 层叠结构数据源的应用 烟头上的探戈 2008-05-19 17:09  
3Q
re: 关于NetBox2.8端口问题 zzrenyi 2008-05-04 13:47  
Set httpd = CreateObject("NetBox.HttpServer")
httpd.Create "127.0.0.1", 0
随机建立端口,然后可以:
'创建HTML窗口
Set htWin= CreateObject("NetBox.HtmlWindow")
'提供ASP页面的地址
htWin.Open "http://127.0.0.1:" & httpd.localPort
这样取得端口
不知这样是否满足你的要求?

re: C#中的API32(转贴) 小松 2008-04-24 17:12  
佩服....
re: firefox和ie下面的初始化checkbox 房客 2008-04-22 09:15  
晕,我们不要在这个问题上面讨论了,我觉得没有意义了。
我给你看的是W3C官方网站,你提供的是一个博客,根本没有可比性吧?就仁者见仁吧。
re: firefox和ie下面的初始化checkbox loveguo 2008-04-21 17:18  
请看第7条
re: firefox和ie下面的初始化checkbox 房客 2008-04-21 08:59  
我查了W3c和html文档的定义有关于checked的定义好像都是布尔类型的。不知道兄弟你说的checked属性只能是"checked"值的结论是从哪里得出的,还请赐教。
re: firefox和ie下面的初始化checkbox 房客 2008-04-21 08:56  
以下是在DOM1中的定义:

地址:http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html

Interface HTMLInputElement

Form control. Note. Depending upon the environment in which the page is being viewed, the value property may be read-only for the file upload input type. For the "password" input type, the actual value returned may be masked to prevent unauthorized use. See the INPUT element definition in HTML 4.0.


IDL Definition

interface HTMLInputElement : HTMLElement {
attribute DOMString defaultValue;
attribute boolean defaultChecked;
readonly attribute HTMLFormElement form;
attribute DOMString accept;
attribute DOMString accessKey;
attribute DOMString align;
attribute DOMString alt;
attribute boolean checked;
attribute boolean disabled;
attribute long maxLength;
attribute DOMString name;
attribute boolean readOnly;
attribute DOMString size;
attribute DOMString src;
attribute long tabIndex;
readonly attribute DOMString type;
attribute DOMString useMap;
attribute DOMString value;
void blur();
void focus();
void select();
void click();
};


re: firefox和ie下面的初始化checkbox 房客 2008-04-21 08:50  
你说
firefox支持cb.checked=true
,有代码可以看看吗?我直接这样写,是不行的。

另外有关于W3C的checked属性的介绍,我查了下
html4.0 1999文档中的定义,其中所说的也是一个布尔类型的属性。

checked [CI]
When the type attribute has the value "radio" or "checkbox", this boolean attribute specifies that the button is on. User agents must ignore this attribute for other control types.

=======
checkboxes
Checkboxes (and radio buttons) are on/off switches that may be toggled by the user. A switch is "on" when the control element's checked attribute is set. When a form is submitted, only "on" checkbox controls can become successful.

地址:http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-checked
写的不错,很有用
re: firefox和ie下面的初始化checkbox loveguo 2008-04-18 16:15  
另外再强调两点:
首先,firefox支持cb.checked=true的写法;
另外,用setAttribute的方法是,应该写cb.setAttribute("checked", "checked"),因为w3c规定设置checked属性只能是"checked"值,表示选中,没有checked属性时,表示未选。即:<input type="checkbox" checked="checked">或:<input type="checkbox">
re: firefox和ie下面的初始化checkbox loveguo 2008-04-18 15:59  
我测试了一下,发现问题了。
必须先appendChild,然后再setAttribute,这样IE才可以。
IE对操作顺序有要求,必须先把元素添加到文档里面,然后才能设置属性,而Firefox没有。
我一般都喜欢把元素的相关属性设置完,才把它添加进文档,所以误以为有问题:)
re: firefox和ie下面的初始化checkbox 房客 2008-04-18 11:40  
setAttribute Method

--------------------------------------------------------------------------------

Sets the value of the specified attribute.

Syntax

object.setAttribute(sName, vValue [, iFlags])
Parameters

sName Required. String that specifies the name of the attribute.
vValue Required. Variant that specifies the string, number, or Boolean to assign to the attribute.
iFlags Optional. Integer that specifies one the following flags: 0 When the attribute is set, it overwrites any attributes with the same name, regardless of their case.
1 Default. The case of the attribute that you set is respected when it is set on the object.


Return Value

No return value.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

re: firefox和ie下面的初始化checkbox 房客 2008-04-18 11:25  
大哥,你在唬我吧?我刚测试了一下,没问题呀。同时在IE和FF下都正常呀?

<!DOCTYPE html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
<meta name="Keywords" content="简单的XHTML页面" />
    
<meta name="Description" content="这是一个简单的XHTML页面" />
    
<title>简单的XHTML页面</title>
<script type="text/javascript">
<!--
    window.onload
=function(){
        
var lb = document.createElement("label");
        
var cb = document.createElement("input");
        cb.type 
= "checkbox";
        cb.value 
= 1;
        lb.appendChild(cb);
        document.body.appendChild(lb);
        cb.setAttribute(
"checked"true);
        lb.innerHTML 
+= "点击我即选择我";
    }
//-->
</script>
</head>
<body>



</body>

</html>


re: firefox和ie下面的初始化checkbox loveguo 2008-04-18 11:09  
首先,checked并不是一个只读属性;
其次,你写错了,按照W3C的DOM规范,正确的写法是cb.setAttribute("checked", "checked");
再次,你的脚本在Firefox下正常,反而是IE下不能正确初始化checkbox的值,这是IE的bug,对createElement方法创建出的元素,设置某些属性无效,包括checked等。
re: 关于NetBox2.8端口问题 房客 2008-04-18 08:48  
main.ini的格式:


[CONFIG]
ICON=wy.ico
[Server]
Port=80
Entity,DataLogic这两个文件,一个是实体类文件,一个是业务逻辑访问,对于这个例子来说,没有多大关系。他们只是一个是提供ChannelInfo实体类的定义结构,一个是返回ChannelInfo实体类的实例化对象而已。
只要记住Channel.GetChannelList()是DataLogic类中的一个静态方法,作用是返回List<ChannelInfo>数组而已。
请问Entity,DataLogic的源码可以提供吗?没有这两个命名空间程序不能运行啊
共3页: 1 2 3 下一页 

导航

<2012年2月>
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

统计

搜索

 
 

常用链接

最新随笔

我的标签

随笔分类

随笔档案

Blogs

WebSite

积分与排名

最新评论

阅读排行榜

推荐排行榜