Geoprocessor Programming Model Use CREATEObject to create a Spatial Reference, a Value Table, or a FieldInfo Object
標(biāo)簽: Geoprocessor CREATEObject Programming Reference
上傳時間: 2013-12-23
上傳用戶:天涯
熟悉VB的朋友對使用ActiveX控件一定不會陌生,眾多控件極大地方便了編程,但唯一的缺陷是不能動態(tài)加載控件,必須在設(shè)計時通過引用,將控件放置在窗體上。VB6.0已能夠解決該問題,只是幫助中沒有明確說明,并且沒有描述到一些關(guān)鍵功能,由于以前的版本中可以動態(tài)創(chuàng)建進程外服務(wù):如果對象是外部可創(chuàng)建的,可在 Set 語句中用 New 關(guān)鍵字、CREATEObject 或 GetObject 從部件外面將對象引用賦予變量。如果對象是從屬對象,則需使用高層對象的方法,在 Set 語句中指定一個對象引用:
標(biāo)簽: ActiveX 6.0 VB 動態(tài)加載
上傳時間: 2014-01-26
上傳用戶:taa123456
<%@ LANGUAGE="VBSCRIPT" %> <!--#include file="conn.asp" --> <% ProductClass_2=request("ProductClass_2") set rs=server.CREATEObject("adodb.recordset") sqltext="select * from Product" if request("Product_Name")<>"" then sqltext=sqltext &" where Product_Name like %"& request("Product_Name") &"% " else sqltext=sqltext &" where Product_Name like %"& "" &"% " end if if request("Product_Class")<>"" then sqltext=sqltext &" and Class_1 like %"& request("Product_Class") &"% " end if
標(biāo)簽: ProductClass lt LANGUAGE VBSCRIPT
上傳時間: 2013-11-25
上傳用戶:wl9454
<%@ LANGUAGE="VBSCRIPT" %> <!--#include file="conn.asp"--> <% set rs=server.CREATEObject("adodb.recordset") sqltext="select * from RegUser where UserId= " & request.form("uid") & " " rs.open sqltext,co
標(biāo)簽: lt LANGUAGE VBSCRIPT include
上傳時間: 2013-12-08
上傳用戶:yuanyuan123
一個瀏覽縮小圖的組件,專為像創(chuàng)建在線相冊薄等以網(wǎng)絡(luò)為基礎(chǔ)的應(yīng)用程序開發(fā)服務(wù)。 name:www.chinaz.com sn:48958-77556-02411 name:chinaz sn:71316-48529-38722 安裝的時候 填入name:后面的用戶名 例如 www.chinaz.com 然后在程序?qū)? Set jpg = Server.CREATEObject("Persits.Jpeg") jpg.RegKey = "48958-77556-02411"
標(biāo)簽:
上傳時間: 2014-01-03
上傳用戶:aa17807091
asp實現(xiàn)限制一個ip只能訪問一次的方法 <% '///////////////////////////////////////////////////// '// // '//作用:一個IP地址只允許訪問本頁一次 // '//引用:<!-- #include file="Check_Ip.asp" --> // '// // '///////////////////////////////////////////////////// 'Response.Charset = 936 '設(shè)置輸出編碼為簡體中文 'Response.Buffer = false '關(guān)閉緩沖區(qū) Dim Fso,ts,IpList,Cfs '設(shè)置Cookies函數(shù) Function SetCookie() Response.Cookies("IsBrow") = "Brow" Response.Cookies("IsBrow").Expires = Date+365 End Function '記錄IP地址函數(shù) Function WriteIp(FileName, IpAddress) Set Fso = Server.CREATEObject("Scripting.FileSystemObject") Set ts = Fso.OpenTextFile(Server.MapPath(FileName),8,true) ts.WriteLine IpAddress ts.Close Set ts = Nothing Set Fso = Nothing End Function '讀取IP地址函數(shù) Function ReadIpList(FileName) Set Fso = Server.CREATEObject("Scripting.FileSystemObject") If Not Fso.FileExists(Server.MapPath(FileName)) Then CreateFile("Iplist.txt") Exit Function End If Set ts = Fso.OpenTextFile(Server.MapPath(FileName)) Iplist = ts.ReadAll ts.Close Set ts = Nothing Set Fso = Nothing ReadIpList = Iplist End Function '創(chuàng)建文件函數(shù) Function CreateFile(FileName) Set Fso = Server.CREATEObject("Scripting.FileSystemObject") Set Cfs = Fso.CreateTextFile(Server.MapPath(FileName)) Cfs.Close Set Cfs = Nothing Set Fso = Nothing End Function '關(guān)閉當(dāng)前IE窗口函數(shù)(注:IE6下通過,其他瀏覽器未測試) Function CloseWindow() 'Response.Write "<script>window.location='javascript:window.opener=null;window.close();'</script>" Response.Redirect "http://www.baidu.com" End Function Ip = Request.ServerVariables("REMOTE_ADDR") '獲取瀏覽者IP地址 Cookie = Request.Cookies("IsBrow") '獲取當(dāng)前Cookies 'Response.Write Cookie If Request.ServerVariables("HTTP_X_FORWARDED_FOR") <> "" Then Response.Write "本站不允許使用代理訪問" Response.End() Else If Cookie = "Brow" Then CloseWindow() Else If Instr(ReadIpList("Iplist.txt"),Ip) <>0 Then CloseWindow() Else WriteIp "Iplist.txt" , Ip End If SetCookie() End If End If %>
上傳時間: 2016-07-14
上傳用戶:helei0915
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1