弹来弹去跑马灯!

摘要: Task有时候相当于Thread的作用 下面的例子test2 是个带参数和返回值的函数。 private int test2(object i){ this.Invoke(new Action(()= {pictureBox1.Visible=true;})); System.Threading.T 阅读全文
posted @ 2016-03-03 14:12 wgscd 阅读(31192) 评论(0) 推荐(1)
摘要: DAO介绍(三) 3)type、options 和 lockedits 参数 type参数可选表 可选参数 dbOpenDynaset dbOpenSnapshot dbOpenForwardOnly dbOpenDynamic dbOpenTable 参数说明 Recordset对象表类型 Rec 阅读全文
posted @ 2016-03-01 13:31 wgscd 阅读(294) 评论(0) 推荐(0)
摘要: Asp调用存储过程,command.CreateParameter 参数值的类型说明 Asp调用各种存储过程,包括带参数,无参数,输入输出参数,带返回值等。 1,调用没有参数的存储过程 <% set conn=server.CreateObject(“adodb.connection”) set c 阅读全文
posted @ 2016-02-29 16:46 wgscd 阅读(2499) 评论(0) 推荐(0)
摘要: 直接用代码 模拟: 在某个根目录创建个 index.asp 原理是用 Request.ServerVariables("QUERY_STRING") 获取参数替换 this page :index.asp asp code: id = LCase(Trim(Request.ServerVariabl 阅读全文
posted @ 2016-02-26 11:35 wgscd 阅读(461) 评论(0) 推荐(0)
摘要: 目前,各大搜索引擎如google、百度、雅虎已经对动态页面诸如asp,php有着不错的支持了,只要动态页面后面的参数不要太长,如控制在3个参数内,页面内容做点优化,各大搜索对该类页面收录甚至不比静态html页面差,我有个全站是asp页的网站,其收录及排名远远超过了很多静态页的网站。 当然,任何网站, 阅读全文
posted @ 2016-02-25 17:11 wgscd 阅读(2694) 评论(0) 推荐(0)
摘要: // 禁止弹出窗口 private void webBrowser1_NewWindow(object sender, CancelEventArgs e) { e.Cancel = true; WebBrowser wb = (WebBrowser)sender; string url = wb. 阅读全文
posted @ 2016-02-24 17:07 wgscd 阅读(1382) 评论(0) 推荐(0)
摘要: VB6 XArrayDB | Xarray ReDim 用法 阅读全文
posted @ 2016-02-24 11:21 wgscd 阅读(1969) 评论(0) 推荐(0)
摘要: Private Sub Form_Load() Dim nHandle As Integer Dim FilePath As String FilePath = "c:\wgscd\17.txt" On Error GoTo Err nHandle = FreeFile(44) Open FileP 阅读全文
posted @ 2016-02-23 14:03 wgscd 阅读(392) 评论(0) 推荐(0)
摘要: Private Sub Command1_Click() Command1.Enabled = False GetHtmlStr Text1 End Sub Private Sub GetHtmlStr(strUrl As String) Dim xml As Object '或者Dim xml A 阅读全文
posted @ 2016-02-22 13:52 wgscd 阅读(3064) 评论(0) 推荐(0)
摘要: Option Explicit Private Declare Funсtion GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long Private 阅读全文
posted @ 2016-02-02 15:52 wgscd 阅读(660) 评论(0) 推荐(0)