Welcome! Log In Create A New Profile

Advanced

HTML control

Posted by ISO 
ISO
HTML control
January 07, 2021 03:13PM
Hi all

I have a problem with and HTML control [WD23], when i open the site [www.trafficengland.com]

the page is black and flashes, if i open the page directly in a chrome, Firefox or edge the page loads fine, its only when i open the page in IE

therefore the HTML control must use IE, is there anyway of changing this?

I tried using Microsoft web browser activex but no surprise worked the same as IE.

any ideas?

thank ISO
Argus
Re: HTML control
January 07, 2021 03:25PM
yes, it uses IE.
No there is no way to change that.

Solution, use a chromium integration (example available in the repository)
ISO
Re: HTML control
January 07, 2021 03:55PM
Hello Argus,

Thanks for that, i'm first going to try and uninstall IE, if that doesn't work i will the repository which i have just looked at and sounds interesting.
Re: HTML control
January 07, 2021 08:43PM
Afaik the new HTML control in V26 uses chromium.

Arie
Re: HTML control
January 08, 2021 01:16AM
Hi Iso,

Here's a snippet of code (WD22) to force the html control s to use IE11:
sExeName         is string
nIEversion         is int

// get the EXE name
sExeName=fExtractPath( ExeInfo(exeName),fFileName+fExtension)

// read current IE compatibility setting
nIEversion=RegistryQueryValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION",sExeName)

// changing setting if needed
IF NOT nIEversion IN (10001,11001)  THEN
	// neither IE10 or IE11
	// force IE11
	nIEversion=11001   //10001 for  IE10, 11001 for  IE11
	IF NOT RegistrySetValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION",sExeName,nIEversion) THEN
		Error("Impossible de forcer la version de Internet Explorer",ErrorInfo())
	END
END
Regards.
Piet



Edited 1 time(s). Last edit at 01/08/2021 01:20AM by pietvanz.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: