Originally posted by ctaty3
View Post
Announcement
Collapse
No announcement yet.
Some websites not shown properly in web object (but ok in IE)
Collapse
X
-
-
Originally posted by Ulrich View PostI don't appear to have any problems here. But I am not sure where you got this value "10001" from.
Ulrich
example code ? how code? help!
I could not.
Leave a comment:
-
But ctaty3 you have set 4 lines of code to way more and your option also don't make sense as windows most of the time has emulation set to 9 where you have checked if it's not set at all or delete so it's just going to delete it nice try but you made it more complcated then it's needed to be
Leave a comment:
-
Leave a comment:
-
Hello!
For convenience, wrote a function. Use on health!
P.S. Just specify the version to emulate.
function Web.Emulation(sVersion)
local nMainKey = HKEY_CURRENT_USER;
local sIESubkey = "Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EM ULATION";
local sExe = _SourceFilename;
if (sVersion ~= "") then
if (Registry.GetValue(nMainKey, sIESubkey, sExe, false) == "") then
Registry.SetValue(nMainKey, sIESubkey, sExe, sVersion, REG_DWORD);
end
else
Registry.DeleteValue(nMainKey, sIESubkey, sExe);
end
end
Leave a comment:
-
Never mind about the example I was able to do it thanks, just need to now detect the version of IE or IE controls that are now installed.
Leave a comment:
-
I got the list of browsers here
Helper class for configuring which version of Internet Explorer is used by the WebBrowser control when hosted in a Windows Forms or WPF application
Value Description
11001 Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the !DOCTYPE directive.
11000 IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11.
10001 Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive.
10000 Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10.
9999 Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the !DOCTYPE directive.
9000 Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9.
8888 Webpages are displayed in IE8 Standards mode, regardless of the !DOCTYPE directive.
8000 Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8
7000 Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control.
Leave a comment:
-
Originally posted by Ulrich View PostI don't appear to have any problems here. But I am not sure where you got this value "10001" from.
Ulrich
I just edited it from 11001 so that last value was wrong but I tried 9 up.
Could I ask ask for the source of that little example
Leave a comment:
-
I don't appear to have any problems here. But I am not sure where you got this value "10001" from.
UlrichAttached Files
Leave a comment:
-
Originally posted by Ulrich View Post
Leave a comment:
-
Originally posted by Ulrich View PostThe web object is an ActiveX control, installed as part of the current Internet Explorer on your computer. If you update Internet Explorer on your or your customer's computer, you will also be using a newer Web Object when the application is executed (unless Microsoft chooses not update the control for some reason). Only Microsoft can tell you which features they are going to support in future releases of the Web Browser control. One thing you should be aware of is that the default user agent of the Web Browser control is IE 7, but you can set the browser emulation from Internet Explorer 7 to 11 as desired (as long as there is indeed an IE11 on the target system).
Ulrich
Leave a comment:
-
The web object is an ActiveX control, installed as part of the current Internet Explorer on your computer. If you update Internet Explorer on your or your customer's computer, you will also be using a newer Web Object when the application is executed (unless Microsoft chooses not update the control for some reason). Only Microsoft can tell you which features they are going to support in future releases of the Web Browser control. One thing you should be aware of is that the default user agent of the Web Browser control is IE 7, but you can set the browser emulation from Internet Explorer 7 to 11 as desired (as long as there is indeed an IE11 on the target system).
Ulrich
Leave a comment:
-
Hi. I noticed that many HTML5 features are not working in the built in web object. Is it possible to use another one which supports HTML5/more Javascript?
update: it seems even the latest version of IE does not yet support WebRTC to embed a html5 multiplayer game. but will this work with the web object if a new IE version is released? Or is it possible to update the web object?
Are there other plugins to use chrome as browser in your app?
Leave a comment:
Leave a comment: