虫虫首页|资源下载|资源专辑|精品软件
登录|注册

createObject

  • Geoprocessor Programming Model Use createObject to create a Spatial Reference, a Value Table, or

    Geoprocessor Programming Model Use createObject to create a Spatial Reference, a Value Table, or a FieldInfo Object

    标签: Geoprocessor createObject Programming Reference

    上传时间: 2013-12-23

    上传用户:天涯

  • VB6.0动态加载ActiveX控件漫谈

    熟悉VB的朋友对使用ActiveX控件一定不会陌生,众多控件极大地方便了编程,但唯一的缺陷是不能动态加载控件,必须在设计时通过引用,将控件放置在窗体上。VB6.0已能够解决该问题,只是帮助中没有明确说明,并且没有描述到一些关键功能,由于以前的版本中可以动态创建进程外服务:如果对象是外部可创建的,可在 Set 语句中用 New 关键字、createObject 或 GetObject 从部件外面将对象引用赋予变量。如果对象是从属对象,则需使用高层对象的方法,在 Set 语句中指定一个对象引用:

    标签: ActiveX 6.0 VB 动态加载

    上传时间: 2014-01-26

    上传用户:taa123456

  • <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="conn.asp" --> <% ProductClass_2=requ

    <%@ 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

    标签: ProductClass lt LANGUAGE VBSCRIPT

    上传时间: 2013-11-25

    上传用户:wl9454

  • <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="conn.asp"--> <% set rs=server.create

    <%@ 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

    标签: lt LANGUAGE VBSCRIPT include

    上传时间: 2013-12-08

    上传用户:yuanyuan123

  • 一个浏览缩小图的组件

    一个浏览缩小图的组件,专为像创建在线相册薄等以网络为基础的应用程序开发服务。 name:www.chinaz.com sn:48958-77556-02411 name:chinaz sn:71316-48529-38722 安装的时候 填入name:后面的用户名 例如 www.chinaz.com 然后在程序写 Set jpg = Server.createObject("Persits.Jpeg") jpg.RegKey = "48958-77556-02411"

    标签:

    上传时间: 2014-01-03

    上传用户:aa17807091

  • asp实现限制一个ip只能访问一次的方法

    asp实现限制一个ip只能访问一次的方法 <%  '/////////////////////////////////////////////////////  '// //  '//作用:一个IP地址只允许访问本页一次 //  '//引用:<!-- #include file="Check_Ip.asp" --> //  '// //  '/////////////////////////////////////////////////////    'Response.Charset = 936 '设置输出编码为简体中文  'Response.Buffer = false '关闭缓冲区    Dim Fso,ts,IpList,Cfs    '设置Cookies函数  Function SetCookie()  Response.Cookies("IsBrow") = "Brow" Response.Cookies("IsBrow").Expires = Date+365  End Function    '记录IP地址函数  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地址函数  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    '创建文件函数  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    '关闭当前IE窗口函数(注: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") '获取当前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  %>

    标签: asp 访问

    上传时间: 2016-07-14

    上传用户:helei0915