6022.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: 用shell 来执行外部程式时,如何给以外部程式 参数呢?</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 用shell 来执行外部程式时,如何给以外部程式 参数呢?</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by Kent on September 25, 1998 at 17:53:12:<p>
In Reply to: <a href="5999.html">用shell 来执行外部程式时,如何给以外部程式 参数呢?</a> posted by Chino on September 25, 1998 at 04:45:25:<p>
先宣告以下<br>Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _<br> (ByVal hWnd As Long, _<br> ByVal lpOperation As String, _<br> ByVal lpFile As String, _<br> ByVal lpParameters As String, _<br> ByVal lpDirectory As String, _<br> ByVal nShowCmd As Long) As Long<br> <br> Private Const SW_SHOW = 5<br>再用以下程式码<br>Call ShellExecute(Me.hWnd, "open", "Winamp.exe", "abc.mp3", "", SW_SHOW)<br>试试看吧,应该可以<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6022-->
</ul><!--end: 6022-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?