?
Solved

IWebBrowser2 VS Internet Explorer 9

Posted on 2011-04-21
12
Medium Priority
?
1,780 Views
Last Modified: 2012-06-27
I have a desktop app that displays Google Maps by running JavaScript in an IWebBrowser2 web control (actually it uses CWebBrowser2 class automatically built by VS 2008 / MFC). I use the COM Invoke to call JavaScript from C++. I had it all working perfectly. Then IE9 came along and on machines with IE9 installed it is crashing at random with memory faults. Any clues as to what is going on. Is it possible to force the use of the IE8 DLLs even after IE9 is installed. Any ideas of how to proceed. Help?
0
Comment
Question by:Z-Nerd
  • 6
  • 6
12 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 35445835
Z-Nerd--You could return to IE8 assuming it was installed before you switched to IE9.
http://windows.microsoft.com/en-US/windows7/how-do-i-install-or-uninstall-internet-explorer-9
0
 

Author Comment

by:Z-Nerd
ID: 35446949
I have tested this suggestion to be sure it is IE9 causing the problems, but it is a commercial product and I can't tell all the users not to install (or to uninstall) IE9.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 35449681
Z-Nerd--"I have tested this suggestion to be sure it is IE9 causing the problems"  
What happened?  Did the problem go away and you now feel IE9 is causing the problem?  
Your exisiting method of viewing Google maps may be incompatible with IE9.  And there may not be a work around.  
What happens if you run Google maps in Compatibility view?
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 

Author Comment

by:Z-Nerd
ID: 35449723
Yes, it is IE9 specific. Works great on machines with IE6 - 8. Compatibility view is not possible, this is not a browser app but rather a web window built into a desktop app using the COM control IWebBrowser2.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 35449761
Z-Nerd--Remember,  " ...there may not be a work around. "
0
 

Author Comment

by:Z-Nerd
ID: 35449795
I just solved it, but I'm not sure why. I had been specifying the "frozen" version of Google maps, 3.2. I tried 3.3 which is labeled "feature stable", it failed the same way. Then I tried 3.4 labeled "current" (it is still being developed) and the problems went away. So they seem to have fixed it. There is nothing about IE9 in the change log. I feel a bit nervous about using their dev version with my released software, but I guess that is my only choice.
0
 
LVL 50

Accepted Solution

by:
jcimarron earned 1000 total points
ID: 35449852
Z-Nerd--Thanks for telling us what worked.  It looks like Google decided they had the incompatibility problem and did something about it.
0
 

Author Comment

by:Z-Nerd
ID: 35449864
jcimarron-- thanks for being the additional head to pound against the wall :-)
0
 

Author Closing Comment

by:Z-Nerd
ID: 35449891
jcimarron didn't really solve it, but did a great job of cheering me on ....
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 35449914
Z-Nerd--Glad things are well.
0
 

Author Comment

by:Z-Nerd
ID: 35449926
I had no idea how to handle points in this case, hope that seemed to fair.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 35450305
Z-Nerd--More than fair.  Thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question