12465.html

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

HTML
23
字号
<html>
  <head>
    <title>Re: How to detect if a file is open? (No text)</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: How to detect if a file is open? (No text)</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by 小v on April 29, 1999 at 09:00:11:<p>
In Reply to: <a href="12455.html">How to detect if a file is open? (No text)</a> posted by wei on April 29, 1999 at 02:49:02:<p>
: <br>: As title.<p>或许可以这样:(我没有实际测过,请自行测试)<br>on error resume next<br>open "filename" for ......<br>if err.number=55 then<br>   msgbox "File is already open!"<br>endif<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 12465-->
</ul><!--end: 12465-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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