+ Reply to Thread
Results 1 to 3 of 3

Win7 / IE9 / InternetExplorer.Application.Quit

  1. #1
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770

    Question Win7 / IE9 / InternetExplorer.Application.Quit

    Are there any known problems with the combination of Win7, IE9, and using the InternetExplorer.Application object?

    I have a VBA macro that uses the object to open a website, log in, grab some data, and then calls the .Quit on the InternetExplorer.Application object.

    9 / 10 times it all works fine. However occasionally IE9 seems to freeze mid-quit. The VBA macro hangs as it calls the .Quit, but IE9 doesn't close.
    On IE9 the page content disappears from view, but the IE9 application is still visible, and it will sit there indefinitly.

    Clicking the 'Refresh' button in IE9 will remind it that it is supposed to be closing, and it will then close and the VBA macro carries on fine. Manually closing IE9 has the same effect.

    So, firstly, is there a known problem, or should I be doing anything in particular with IE9 that I didn't need to do on other IE versions?
    Is there some way I can call the .Quit, but effectively NOT wait for IE to actually quit, (perhaps so I can go on and run some code to check if IE is still there, and if so send a refresh... or something....)

    Thanks!
    If you find the response helpful please click the scales in the blue bar above and rate it
    If you don't like the response, don't bother with the scales, they are not for you

  2. #2
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770

    Re: Win7 / IE9 / InternetExplorer.Application.Quit

    Guess I'm on my own then!

    Is there any alternative to using the InternetExplorer.Application object? ie. some other way to access the HTML content of a page and interact with it?

    Thanks

  3. #3
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203

    Re: Win7 / IE9 / InternetExplorer.Application.Quit

    I have never used the ".Application".

    Although, I admit, now that I tested it with ".Application" in the code, it does not hang. But, at least here is one thing you can try. Hope it works for you.


    Please Login or Register  to view this content.
    Forgot to say ... I am using Windows 7 and IE9 ...
    Last edited by MSP77079; 06-26-2011 at 12:44 PM. Reason: forgot to say ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1