I am using FindWindow function to find whether Internet Explorer is open or not .
hwnd = FindWindow(vbnullstring,"Google - Microsoft Internet Explorer")
the problem is it easily find most of the windows , but in few cases for example if i type something in google search and if i navigate to any of the resulting page then if i call the hwnd function its unable to find it .
My Question Is i cannot go on giving different string like
"Google - Microsoft Internet Explorer"
"search engine - Google Search - Microsoft Internet Explorer"
so is there a way to to give something which finds all opened IE whatever the toolbar text it has .
i assume your task is to find whether an instance of IE is open or not.
In that case you can loop thro the current processes that is running in your system and look for process named "iexplore.exe". This is the exe that says your system is running an IE or not
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.