13687.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>Re: 如何快速得知某目录内有多少个档案和目录??</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: 如何快速得知某目录内有多少个档案和目录??</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by 小翰 on June 02, 1999 at 01:29:52:<p>
In Reply to: <a href="13651.html">Re: 如何快速得知某目录内有多少个档案和目录??</a> posted by 小v on June 01, 1999 at 09:47:05:<p>
: : 如何快速得知某目录内有多少个档案和目录??<p>: 使用DirListBox 和 FileListBox 即可!<p>: 例: 得知C:\WIN95下有多少个目录,档案:<br>: DIR1.VISIBLE=FALSE<br>: FILE1.VISIBLE=FALSE<br>: DIR1.PATH="C:\WIN95"<br>: Label1.Caption = Dir1.ListCount 此即目录数<br>: File1.Path = Dir1.Path<br>: File1.filename = "*.*"<br>: Label2.Caption = File1.ListCount 此即档案数<p>在vb6下使用dirlistbox<br>对于隐藏属性的目录将侦测不到<br>不知vb6改善了没?
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13687-->
</ul><!--end: 13687-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?