掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
VBからIEを閉じる (ID:80529)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
FullName プロパティで判別するって言うのはどうですか? このプロパディは実行ファイルのパスを返すんで、 iexplore.exe で引っ掛ければ判定できるはず。 For Each IEApp In CreateObject("Shell.Application").Windows() If InStr(1, IEApp.fullname, "iexplore.exe", vbTextCompare) > 0 Then IEApp.Quit End If Next こんな感じ!
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.