投稿日 | : 2006/03/01(Wed) 08:55 |
投稿者 | : だい |
Eメール | : dee_bassist@hotmail.com |
URL | : |
タイトル | : Re: 外部プログラムの戻り値の取得方法 |
> 外部プログラムの戻りとを取得する方法はありますでしょうか?
WScript.ShellオブジェクトのRunメソッド が使用可能であればですが
hhttp://www.microsoft.com/japan/msdn/library/default.asp?
url=/japan/msdn/library/ja/script56/html/wsmthrun.asp
Dim WshShell As Object
Dim Ret As Long
Set WshShell = CreateObject("WScript.Shell")
Ret = WshShell.Run("notepad c:\temp\test1.txt", 1, True)
MsgBox Ret
Set WshShell = Nothing