If you encountered some issues when you use the Internet Explorer object from ToolChest in Vijeo Designer Runtime (for Windows based targets only),
i.e:
- Internet pages are not well displayed (HTML5 not supported, WebVisu error...)
- your image files cannot be opened (red cross on the screen)
- Internet Explorer script error by using IDS Explorer
...
You can workaround the use of this object by using an other Internet Explorer engine. To run HTML5 pages, you need to have at least IE9 installed on the machine. For that, you have to modify the registry key to change the IE emulation version.
Steps to follow:
1. open the registry editor
2. expand the node "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION\"
If it is not a 64bit Windows, you don't have "Wow6432Node".
3. add a new key of 32-bit DWORD type. The key name should be the same as your application executable name. For VJD runtime, it should be "koohi.exe".
4. set the value for the new key. You can find the different values on following link: https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation
i.e:
11001 (0x2AF9) for IE 11 (Edge mode).
11000 (0x2AF8) for IE11 (Standards mode).
Finally, run the runtime again, the HTML5 page and Images are displayed perfectly.
Therefore, the first thing for solving this issue is to install the latest Internet Explorer on the target. And then, modify the registry key to make the browser control running with a newest version of Internet Explorer.
i.e:
- Internet pages are not well displayed (HTML5 not supported, WebVisu error...)
- your image files cannot be opened (red cross on the screen)
- Internet Explorer script error by using IDS Explorer
...
You can workaround the use of this object by using an other Internet Explorer engine. To run HTML5 pages, you need to have at least IE9 installed on the machine. For that, you have to modify the registry key to change the IE emulation version.
Steps to follow:
1. open the registry editor
2. expand the node "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION\"
If it is not a 64bit Windows, you don't have "Wow6432Node".
3. add a new key of 32-bit DWORD type. The key name should be the same as your application executable name. For VJD runtime, it should be "koohi.exe".
4. set the value for the new key. You can find the different values on following link: https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation
i.e:
11001 (0x2AF9) for IE 11 (Edge mode).
11000 (0x2AF8) for IE11 (Standards mode).
Finally, run the runtime again, the HTML5 page and Images are displayed perfectly.
Therefore, the first thing for solving this issue is to install the latest Internet Explorer on the target. And then, modify the registry key to make the browser control running with a newest version of Internet Explorer.