Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot load more than two IE instances
Message
De
04/12/2014 20:28:21
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Cannot load more than two IE instances
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:
01611875
Vues:
43
This used to work for months and now I cannot load more than two IE instances.
        Dim loInternetExplorer As Object = Nothing

        loInternetExplorer = CreateObject("InternetExplorer.Application")
        loInternetExplorer.Visible = True
        loInternetExplorer.Navigate("http://www.domain.com")
        apiShowWindow(loInternetExplorer.hwnd, SW_MAXIMIZE)
        Do While (loInternetExplorer.Busy)
            System.Threading.Thread.Sleep(100)
        Loop

        loInternetExplorer = Nothing

        loInternetExplorer = CreateObject("InternetExplorer.Application")
        loInternetExplorer.Visible = True
        loInternetExplorer.Navigate("http://www.domain2.com")
        apiShowWindow(loInternetExplorer.hwnd, SW_MAXIMIZE)
        Do While (loInternetExplorer.Busy)
            System.Threading.Thread.Sleep(100)
        Loop

        loInternetExplorer = Nothing

        loInternetExplorer = CreateObject("InternetExplorer.Application")
        loInternetExplorer.Visible = True
        loInternetExplorer.Navigate("http://www.domain3.com")
        apiShowWindow(loInternetExplorer.hwnd, SW_MAXIMIZE)
        Do While (loInternetExplorer.Busy)
            System.Threading.Thread.Sleep(100)
        Loop

        loInternetExplorer = Nothing
I thought it was a memory issue. It is not. Even after a reboot, this is the same. This started to be like that weeks ago and never went ok after. It loads the first two. Then, on the third one, it gives an unhandled error about late binding.

The only think I can see is a Windows update triggered something in regards to IE which I cannot use it like that anymore.

I tried to put timeout between each. This did not change anything. I tried creating object for each instance. That did not change anything.

Anyone would know what is wrong here?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform