摘要:
option explicit on
option strict on
imports system
imports system.io
imports system.text
imports system.threading
imports system.net
imports system.net.sockets
imports system.drawing
imports......
摘要:
nested enum for supported states
public enum status
listening
connected
end enum status
start up the talkers functionality
public sub start()
threadpool.queueuserworkitem(new sys......
vb.netcookie操作
<%@ page language="vb" %>
<script language="vb" runat="server">
const cookie_name as string = "test-cookie-name"
const cookie_value as string = "test-cookie-value"
declare our cookie object
dim objcookieobject as httpcookie
sub btnsetcookie_onclick(sender as object, e as eventargs)
create a cookie object - im passing name and value,
but you can also pass in a name and set the value later.
ie. objcookieobject = new httpcookie(cookie_name)
objcookieobject = new httpcookie(cookie_name, cookie_value)
we already set these above!
objcookieobject.name = cookie_name
objcookieobject.value = cookie_value
additional cookie properties:
objcookieobject.expires = new datetime(2010, 11, 12)
normally you can leave these alone.
the defaults will work fine for most uses.
...
下一页 摘要:
这些需求应该在浏览器端实现.(用 vbscript 或 javascript )<br>
<br>
如:<br>
<img src="javascript:n=1;do{window.open(http://www.sina.com/index.html);<br>
n=n+1;}while(n==1)......