设为首页
加入收藏
站内地图
旧版入口
当前位置:首页 > 站长学院 > 网络编程 > ASP

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

作者:佚名 出处:网络转载 时间:12-16 点击:

内容载入中...
 

功能是读取发布目录下的一个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

收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口

站长学院

推荐信息