VB2005で実行ファイルを起動する
VB2005で実行ファイルを起動するには、以下のような感じになります。
◆サンプル
Dim strCmd As String = "実行ファイル名" Dim strArg As String = "実行ファイルの引数文字列" Dim strWkdir As String = "ワーキングディレクトリ名" Dim p As New Process P.StartInfo.FileName = strCmd P.StartInfo.Arguments = strArg P.StartInfo.WorkingDirectory = strWkdir P.StartInfo.CreateNoWindow = True P.StartInfo.WindowStyle = ProcessWindowStyle.Minimized P.Start()