页面载入中....
Hi,Dear Friends,Welcome!
 
:: Calendar ::
 
页面载入中....
 
:: Bulletin ::
 
页面载入中....
 
:: User Login ::
 
页面载入中....
 
:: Categories ::
 
页面载入中....
:: Recent Entries ::
 
页面载入中....
:: Comments ::
 
页面载入中....
:: Messages ::
 
页面载入中....
:: Information ::
 
页面载入中....
:: Links ::
 


 
 
2007-4-28 9:16:00
VB判断文件是否存在

方法一:
1. 工程——〉引用:microsoft scripting runtime
2.  ' 引用filesystemobject对象
      Dim fs as new filesystemobject
     ' 利用filesystemobject对象的fileexists方法判断文件是否存在
      if  fs.fileExists("C:*.gif") then
            MsgBox "文件存在"
      Else
            MsgBox "文件存在"
      End if

 
 
2007-9-10 13:49:00
Re:VB判断文件是否存在

魔塔作家(游客)好!
 
by 魔塔作家(游客) 个人主页 | 引用 | 返回 | 删除 | 回复
 
发表评论:
页面载入中....
Powered by Oblog.