Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot load more than two IE instances
Message
From
04/12/2014 20:28:21
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Cannot load more than two IE instances
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01611875
Message ID:
01611875
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform