🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.visualbasic
Article #84

Re: *.batファイルの起動について

#84
From: Teiju Konno
Date: Tue, 28 Apr 1998 00:00
17 lines
1207 bytes
>ボタンを押されると *.batのファイルを起動し、
>*.batの処理が完了するまで待機。
>*.batの処理が完了すると次の処理へ移る
>という処理を行いたいのですがなにか良い方法はないでしょうか?
>(Shell関数で起動は出来るのですが 起動した *.batが終了したかの
>  判断の仕方がわかりませんでした)


AppActivateを使用してみては?
AppActivateで指定したタスクIDが存在しない場合はエラートラップが
発生します。

(株)ティー・エス・イー
システム開発部 今野
first.group@tseweb.co.jp
konno@kt.rim.or.jp
Technical Details
Message-ID: <6i3le8$fqd$1@news.tky.threewebnet.or.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <ErJ5zx.54w@charlie.eng.yokogawa.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 105c2e,37b624d8744b66b3
X-Google-Attributes: gid105c2e,public
From: "Teiju Konno" <konno@kt.rim.or.jp>
Subject: Re: *.batファイルの起動について
Date: 1998/04/28
Message-ID: <6i3le8$fqd$1@news.tky.threewebnet.or.jp>
X-Deja-AN: 348318768
Content-Transfer-Encoding: 7bit
References: <ErJ5zx.54w@charlie.eng.yokogawa.co.jp>
Content-Type: text/plain; charset="iso-2022-jp"
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: 3Web internet service
Mime-Version: 1.0
Newsgroups: fj.lang.visualbasic