qqexp028.html

来自「包含大量VB常用函数 大概一百几十个左右 每个函数都有比较详细的说明 希望大家喜」· HTML 代码 · 共 33 行

HTML
33
字号
<html>

<head>
<title>千千VB站 VB函数清单</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<body>

<marquee><blink><b>传回磁盘机所在的文件夹缓冲里的名称</b></blink></marquee>
<br>
<hr>
<a name="curdir">&nbsp;&nbsp;&nbsp; ●CurDir传回目前所在的文件夹<br>
&nbsp;&nbsp;&nbsp; MyPath = CurDir(&quot;C&quot;)<br>
&nbsp;&nbsp;&nbsp; MyPath = CurDir(&quot;D&quot;)<br>
&nbsp;&nbsp;&nbsp; MyPath = CurDir(&quot;E&quot;)<br>
&nbsp;&nbsp;&nbsp; 结果可能为:<br>
&nbsp;&nbsp;&nbsp; MyPath = &quot;C:\WINDOWS\TEMP&quot;<br>
&nbsp;&nbsp;&nbsp; MyPath = &quot;D:\PHOTOSTORE\~STUPIDS64&quot;<br>
&nbsp;&nbsp;&nbsp; MyPath = &quot;E:\DROP&amp;FALL&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; ●Dir传回目前的文件夹或文件<br>
&nbsp;&nbsp;&nbsp; MyPath = Dir(&quot;C:\PATH\FILENAME&quot;)<br>
&nbsp;&nbsp;&nbsp; 结果可能为:<br>
&nbsp;&nbsp;&nbsp; MyPath 不为 &quot;C:\PATH\FILENAME&quot;,表示路径或文件不存在。<br>
&nbsp;&nbsp;&nbsp; MyPath = &quot;C:\PATH\FILENAME&quot;,表示路径或文件存在。<br>
</a>

</body>

</html>

⌨️ 快捷键说明

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