1208.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 22 行

HTML
22
字号
<html>
  <head>
    <title>Re: 判断档案大小(vb6.0企业版,win95)</title>
  </head>
  <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="blue" VLINK="#808080" ALINK="red">
    <center>
      <h1>Re: 判断档案大小(vb6.0企业版,win95)</h1>
    </center>

<HR><p>
Posted by <a href="mailto:a338479@ms3.hinet.net">小刘</a> on October 31, 1997 at 21:05:42:<p>
In Reply to: <a href="1205.html"><b>判断档案大小(vb6.0企业版,win95)</b></a> posted by 疾风之狼 on October 31, 1997 at 07:26:01:<p>
可以参考以前 DOS 时,BASIC 开启『随机档』的方式……<p>'取得已开启档案的长度<br>Open"text1.txt" as #1 For Random<br>MsgBox "test1.txt 档案长度 =" & LOF(1)<br>Close #1<p>'取得未开档案的长度<br>MsgBox "text2.txt 档案长度 =" & FileLen("text2.txt")<p>
<br>
<p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 1208-->
</ul><!--end: 1208-->
<br><HR><p>

</body></html>

⌨️ 快捷键说明

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