易截截图软件、单文件、免安装、纯绿色、仅160KB

asp常用文件操作函数(一)

<%
    
    '*******************************************************
    '函数名:CreateFolder(sPath)
    '作  用: 创建目录
    '参  数:sPath : 创建的相对目录路径
    '返回值:成功 true , 失败 false
    '*******************************************************
    'response.Write createfolder("/dgsunshine/UploadFile/demo1/")
    Function CreateFolder(sPath)
        On Error Resume Next
        
        Dim Fso,Arrfolder,Folder,i,j    
        If sPath="" then
            CreateFolder = False
            Exit Function
        End If
        
        If Left(sPath,1) = "/" Then
            Folder = "/"
            sPath = Mid(sPath,2,Len(sPath))
        Else
            Folder = "./"
        End If
        
        if Right(sPath,1) = "/" then sPath = Left(sPath,Len(sPath)-1)
        ArrFolder = Split(sPath,"/")
        
        Set Fso = Server.CreateObject("Scripting.FileSyste


相关文档:

asp_数据库操作封装

一、conn.asp
<%
  '@Language="VBSCRIPT" CODEPAGE=65001  
  'meta http-equiv="Content-Type" content="text/html; charset=gb2312"  
  ' 936  utf-8
  class TDB
    function qry(byval sqlquery)
 & ......

IIS无法访问asp!提示:Server Application Error

IIS无法访问asp!
解决办法!今天打开电脑发现IIS无法访问asp页面。
提示:Server Application Error 然后就有了下面的一段话。
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact ......

asp execl 技术总结

 一、 环境设置
  服务器端的环境设置从参考数据上看,微软系列的设置应该都行,即:
  1.Win9x+PWS+Office
  2.Win2000 Professional+PWS+Office
  3.Win2000 Server+IIS+Office
  目前笔者测试成功的环境是后二者。Office的版本没有特别需求,考虑到客户机设置的不确定性和下兼容特性,建议服务器端Of ......

一段ASP。NET的IFRAME的页面跳转


<script>window.parent.document.getElementById('BIframe').src='B.aspx';</script>
http://www.cnblogs.com/lijigang/archive/2007/05/18/751943.html
再来看看第二种刷新方法:“重载页面”
<script>window.parent.document.frames.BIframe.RefreshmyForm();</script>
<scri ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号