繁体中文
设为首页
加入收藏
当前位置:ASP技术首页 >> ASP基础 >> Asp中关于Global.asa文件的编程(二)

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

2006-04-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介:功能是读取发布目录下的一个ini文件 While Not objTs.AtEndOfStream strLineData = objTs.ReadLine  If Trim(strLineData) "" Then If flgSection = True And Mid(strLineData,1,1) = "[" And _   Mid(strLi...

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

责任编辑:admin
相关文章