>When you step through that code does the IE window go away when you release the first one? If it doesn't you have a problem with some sort of reference hanging. Try setting Visible=false before releasing the instance.
No, IE does not go away. All my windows remain there. I need to load 6 instances at startup always at the same place and same location. I also tried to use a different object for each, such as loInternetExplorer2 and loInternetExplorer3 but that does not help. Also, sometimes, this happens immediately on the first one. Then, I may load those 40 times and suddenly, it starts doing it. Then, on the next run, I have it immediately. Once I succeed for find a pattern that is basically mostly happening all the times, this is when I was able to see that the mshtml approach worked.
>I think the issue might be that the object is not being disposed properly. So effectively an instance is still hanging around. Still this should not crash - it might just leak memory.
Yes, definitely