I have created a web browser using the WebBrowser control in VB6. After compiling the EXE, when I run the browser, though only 1 instance of the web browser opens up, Windows Task Manager in WinXP (right-click any vacant area on the taskbar & select Task Manager) lists it 2 times (under the Applications) tab).
Assume that the home page of the browser named MyBrowser is about:blank. When I run the EXE, Windows Task Manager lists MyBrowser twice. The 2 tasks are named
about:blank - MyBrowser
MyBrowser
When I right click the former in Windows Task Manager & click Bring to Front, Windows Task Manager loses the focus & the focus shifts to the already open browser making it the active window but when I right-click the latter in Windows Task Manager & click Bring to Front, then Windows Task Manager loses the focus (which I can make out by the change in color of the titlebar) but the focus doesn't shift to the open browser. In fact, none of the open apps have the focus under such circumstances.
What could be the reason behind this?




ARPAN
Reply With Quote