VBSでとある条件の時に処理をやらずに終了させる方法で悩んでいます。
Dim ObjIE Dim ObjShell Dim ObjWindow Dim WinExist WinExist = False Set ObjShell = CreateObject("Shell.Application") For Each ObjWindow In ObjShell.Windows If TypeName(ObjWindow.Document) = "HTMLDocument" Then WinExist = True Set ObjIE = ObjWindow End If Next Set ObjShell = Nothing If Not WinExist = True Then Set ObjIE = CreateObject("InternetExplorer.Application") End If ・ ・ ・ ・ 例えばこのように起動しているIEを探します そこでもしYahoo!JAPANが起動していたら以降の処理をやらずに終わらせた...
Asked by :
mr_r00 |
VisualBasic |
2008-11-30 23:40 |
解決済
| 1 answer | 1 comment
Ads By Google
質問はどれくらいで閉じたらいいんですか?
Asked by : ●ヽ(´・д・`)ノ● ウンコ アリガトー | livedoorナレッジ | 2006-04-30 12:36 | 解決済 | 4 answers | 3 commentsAds By Google


