2015-02-15から1日間の記事一覧

VBA から EXE の標準出力を読む

VBA

StdOut.ReadLine を使う。 Function test() Set objShell = CreateObject("WScript.Shell") Set objExec = objShell.Exec("test.exe") r = objExec.StdOut.ReadLine MsgBox (r) End Function 参考: Windows管理者のためのWindows Script Host入門:第5回 Ws…