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

- 中国WEB开发者网络 (http://www.webasp.net)
-- 技术教程 (http://www.webasp.net/article/)
--- Asp中关于Global.asa文件的编程(二) (http://www.webasp.net/article/4/3744.htm)
-- 作者:未知
-- 发布日期: 2003-07-11
作者: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




webasp.net