20515.html

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

HTML
23
字号
<html>  <head>    <title>Re: 如何使用VB 得知目前网路是否畅通 ?</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>Re: 如何使用VB 得知目前网路是否畅通 ?</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by CooMan on October 22, 1999 at 09:10:27:<p>In Reply to: <a href="20512.html">如何使用VB 得知目前网路是否畅通 ?</a> posted by Bruce on October 22, 1999 at 08:47:14:<p>: 比如说我想要知道目前是否可以连接到Sever, 而显示MessageBox目前的连线状态!!<br>: 谢谢 !!<p>如果什么api都不会的话, 有一个变通的方法:<br>(假设你网路磁碟机代号是F)<p>RetStr = DIR("F:\NUL")<br>如果RetStr的值是""就表示网路没通!<br>如果RetStr的值是"NUL" 就表示网路有通!<p><p><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 20515--></ul><!--end: 20515--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

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