15760.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>从字面上解释就是from... to</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>从字面上解释就是from... to</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:honey0@tcts1.seed.net.tw">Honey</a> on July 16, 1999 at 23:39:11:<p>
In Reply to: <a href="15710.html">mciSendString方面的问题..</a> posted by Yizu on July 15, 1999 at 23:34:17:<p>
Private Declare Function mciSendString _<br>Lib "winmm.dll" Alias "mciSendStringA" _<br>(ByVal lpstrCommand As String, ByVal _<br>lpstrReturnString As String, ByVal _<br>uReturnLength As Long, ByVal hwndCallback _<br>As Long) As Long<br>Private Declare Function mciGetErrorString Lib "winmm.dll" Alias "mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long) As Long<br>Private Sub Command1_Click()<br>Dim r As Long<br>r = mciSendString("play d:\vb98\wizards\pdwizard\working.avi from 1 to 3", 0&, 0, 0)<br>If r Then<br> GetErrorMessage r<br>End If<br>End Sub<br>Private Sub Form_Unload(Cancel As Integer)<br>mciSendString "close d:\vb98\wizards\pdwizard\working.avi", 0&, 0, 0<br>End Sub<br>Public Sub GetErrorMessage(ReT)<br>Dim errorms As String * 255<br>mciGetErrorString ReT, errorms, 255<br>MsgBox errorms<br>End Sub<p>有空到cww那边看看 <br>还有其他的功能
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 15760-->
</ul><!--end: 15760-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?