Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot load more than two IE instances
Message
De
26/04/2015 10:22:57
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611875
Message ID:
01619151
Vues:
19
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform