Hey all I am trying to figure out how to set the WebBrowser control in my windows form to emulate IE9 or IE10 under Windows 8.
Currently, when I use the webbrowser control on my form and load up a website it tells me:
Your browser, Internet Explorer 7, does not support the advanced...
However, going to that same site with just the normal IE10 browser shows the page just fine. I also double-checked the IE9 compatibility using the Developer tools within IE10 to emulate IE9 standards and that also worked.
I also tried adding my EXE file name to the registory:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\
Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
For 64 bit Windows 8 but that doesn't seem to have any effect on it when I run the program.
Any help would be great!
FIXED:
Using vbTestProg.exe for the build EXE
Using the vbTestProg.vshost.exe for the Debug inside VB
If you're application is a 64bit application, or compiled for AnyCPU and running on 64bit Windows, you need to set the emulation setting in:
HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
(Without Wow6432Node.) The registry location you specified is for 32bit applications running on 64bit operating systems.
Related
I had an excel macro used to open an internet explorer application and manipulate the program. It worked perfectly for quite some time. However, some of my users have discovered that they need 64 bit internet explorer running in order to maintain some of their printing preferences (the macro automatically prints pages from our website). The macro could work if the internet explorer program was launched from the link C:\Program Files\Internet Explorer\IExplore.exe.
My previous code to open the ie program was:
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
ie.navigate ("URL")
How can I make it so that my object ie specifically opens the internet explorer through the file path C:\Program Files\Internet Explorer\IExplore.exe and creates it as the object just as it did previously? The internet explorer installed on our computers is ie9 if that matters.
The so-called Desktop version of IE (not the Metro version) runs a 64-bit IE frame with all IE windows being 32-bit. This is accomplished by Windows shipping default with both 64-bit (in Program Files) and 32-bit (in Program Files (x86)) versions of IE. Microsoft doesn't want people to run Desktop version of IE. Their most excellent reasoning is in the article by an Internet Explorer manager at Q&A: 64-Bit Internet Explorer. The 64-bit version of Internet Explorer 9 cannot be set up as the default browser either.
The following from your Q might suggest another way of attacking this: However, some of my users have discovered that they need 64 bit internet explorer running in order to maintain some of their printing preferences: Why is this so and does it have anything to do with the bit-ness of the printer drivers installed?
I'm using Visual Studio 2013 Express on Windows 7 to build a desktop application using .NET services with DirectX 11. I've started testing on 2 different Windows 8 machines. One also has VS2013E on it, and uses Windows 8 Pro. The other does not have Visual Studio, and uses Windows 8.1. On the first machine, all I had to do was move my executable onto the machine and it worked fine. On the second, I see no evidence that it attempts to run. In fact, I added a MessageBox.Show(...) as the very first line in my code to see if my code was breaking anywhere, but still, nothing happens. Any ideas on what I'm missing?
I am working on application for Windows 8 tablet and would like to leverage some features introduced in IE 11.
I am using laptop with Windows 8.1 and IE 11. I was really surprised to see when I was debugging in VS 2013 that my app is running on IE 10 but not IE 11.
I tried to build project in Eclipse setting it up that it should use external browser as it adviced in this article: http://www-01.ibm.com/support/docview.wss?uid=swg21600697 but no luck :-( it still use IE10.
Is there is a way to debug a Windows 8 tablet app in VS 2013 using default browser on laptop? Like IE 11 on Windows 8.1 laptop.
Thank you in advance for help!
The option you tried is not related as it is about Worklight Console's MBS, whereas you are talking about Visual Studio which is an external IDE for Windows Store and Windows Phone 8 app development...
What you want to do is set Internet Explorer 11 as your default browser in your Windows 8 Desktop machine (running Visual Studio). However, that seems to be not so straight forward with Visual Studio in the mix.
Here are some possible solutions:
Where does Visual Studio stores the default browser to use in debug?
Visual Studio opens the default browser instead of Internet Explorer
http://www.c-sharpcorner.com/Blogs/2131/set-default-browser-in-visual-studio.aspx
Perhaps this as well:
http://developer.telerik.com/featured/5-ways-to-build-mobile-apps-with-visual-studio/
http://blog.credera.com/technology-insights/microsoft-solutions/5-things-you-need-to-know-about-debugging-in-visual-studio-2012/
Greetings for the day.
I am having a issue making my 64bit ActiveX component to run on Win8(64Bit) over IE10(64bit) browser.
ISSUE:
I am having a 64bit Intranet application in which I have an ActiveX component (COM .dll) which creates an explorer bar and a BHO in Internet Explorer.
I am trying to use this ActiveX Component in Win8 (64Bit) and IE10.
What works for me:
My 32 bit ActiveX version in Win8(64Bit\32bit)\Win7(64bit\32Bit) using IE10 without EPM enabled.
My 64bit ActiveX in Win7(64bit)\Win Server 2008 R2(64bit) using IE7\IE8 (64 bit).
My 64bit ActiveX in Win7(64bit) using IE10 having EPM enabled.
What does not works for me:
My 64bit ActiveX component in Win8(64bit) using IE10(64bit) having EPM enabled.
Having read all the blogs available over the internet, I learnt that for a 64bit ActiveX component to work in Win8(64bit) using IE10, I need to enable EPM(Enhanced Protected Mode) , register both 32bit and 64bit versions of my ActiveX and also my ActiveX should be EPM compatible. Also my dll should be located in AppContainer readable folder like Program Files.
Blog Links:
http://blogs.msdn.com/b/ieinternals/archive/2012/03/23/understanding-ie10-enhanced-protected-mode-network-security-addons-cookies-metro-desktop.aspx
http://www.askyb.com/bho/step-by-step-guide-to-making-you-bho-epm-compatible-with-ie11-on-windows-8/
What I have tried So far:
Made my ActiveX component EPM compatible according to the above links.
(My ActiveX dll has 5-6 classes and different .rgs files for registering each. So I added the AppContainer GUID in a separate .h file and included that file in each class .cxx file. Also included the
‘Implemented Categories’ in all .rgs file.)
Registered both 32bit and 64bit versions of my ActiveX.
Enabled the EPM.
Now I am able to get only my explorer bar enabled with EPM. But other BHO functionality is not working.
One of the functionalities of my ActiveX is that it reads the Machine Name and returns it. But in Win8(64bit) using IE10 it is not working even after doing all of the above.
Bottom-line is that my ActiveX is not working completely as expected,ie., The instance of one of the BHO Component(which is used to read the clients Machine Name) is not getting instantiated as expected,same Component works fine with a 32 bit BHO Component on the same Environment :(
Is it something I did wrong in making my ActiveX component as EPM compatible?
As I want my application to run only in 64bit mode as it’s an intranet application, do I still need to register both 32bit and 64bit versions of my ActiveX?
Should both the 32bit and 64bit versions should be made EPM compatible?
Should both 32bit and 64bit have the same CLSID?
Any quick solution would be greatly appreciated, Since I’m going nuts working on this issue from past few days, hoping for a positive response from your guys.
Thanks in advance
I'm using the Crystal Report 10 viewer ActiveX control in an Access App I've written. Works great in Office 2003 on 32bit versions of Windows. The problem arrises when I try to run the program in 64 bit Windows (with 32bit Office). I get the following error:
Run-time error '429': ActiveX component can't create object
I get this error on the following line of my VBA code.
Set rdApp = CreateObject("Crystalruntime.application.10")
How can I get this to work in 64bit?
I don't have any specific experience with Crystal Report, but I do have some experience with installing components on a 64-bit Windows environment that were intended for 32-bit Windows, so here are some general suggestions of things to try:
Before installing, try loosening the security privileges - I have Windows Server 2008; on this OS, they're under Start | Administrative Tools | Local Security Policy. Many old installers are thwarted by these controls. You'll want to return them to their defaults after the install.
Make sure that you run the installer with admin privileges (right-click; run as Administrator).
Examine the installation log for Crystal Report - it may indicate a failure registering a component. In one instance, I was able to get the installation working by running the command to register the failed component manually, on an administrator-privileged command line (the command was in the log).
If acceptable, try to create a Windows Virtual Machine running a virtual Windows XP, and try the installations there (this might be a bit tedious, due to your need for MS Office).
Take a look at VMWare's ThinApp - this is intended for packaging applications for administrators, but this was the solution we ended up using to shield one of our 32-bit apps from Windows 64-bit perils
Hope this helps; we struggled for awhile trying different things to get our legacy apps working on a 64-bit environment.