当前位置:编程学习 > asp >>

Asp中关于Global.asa文件的编程(二)

答案:作者:virtualboy

功能是读取发布目录下的一个ini文件

  While Not objTs.AtEndOfStream
    strLineData = objTs.ReadLine
   If Trim(strLineData) <> "" Then
        If flgSection = True And Mid(strLineData,1,1) = "[" And _
        Mid(strLineData,Len(strLineData),1) = "]" Then
       objTs.Close
         Set objTs = Nothing
       Set objFs = Nothing
       Exit Sub
      End If
    
      If strLineData = CONST_DB_SECTION Then
       flgSection = True
     End If



上一个:Asp中关于Global.asa文件的编程(三)
下一个:不用Global.asa实现在线人数统计

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,