My clients are using internet explorer in different versions this causes many errors in the codes, can not standardize the version used in the webgadget? Include in exe the component of my computer?
Sorry for the english google translator mode.
Difference in IE version
Re: Difference in IE version
The WebGadget in Windows utilizes a special browser object and is not necessarily based on the version of IE that is installed. Different versions of Windows use different browser objects based different renderers so you will have to test your application to ensure that it displays correctly across OS versions.
I had this problem when using a WebGadget to write a GUI wizard for an installer. Make sure that you test on XP, for sure, if you want to support this OS.
The advantage of this is that the executable doesn't need to ship any libraries needed for the browser so the binary is smaller. The disadvantage is that you are at the mercy of the renderer changing and your application breaking. I would certainly like an option to link a different browser like WebKit or Chromium to ensure consistent rendering across platforms but this is not an option in PureBasic.
I had this problem when using a WebGadget to write a GUI wizard for an installer. Make sure that you test on XP, for sure, if you want to support this OS.
The advantage of this is that the executable doesn't need to ship any libraries needed for the browser so the binary is smaller. The disadvantage is that you are at the mercy of the renderer changing and your application breaking. I would certainly like an option to link a different browser like WebKit or Chromium to ensure consistent rendering across platforms but this is not an option in PureBasic.
Re: Difference in IE version
Including this line in the HTML helped me a lot when working with the WebGadget:
Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
As you walk on by, Will you call my name? Or will you walk away?
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Difference in IE version
There is a registry setting you could try:
[/size]
Code: Select all
;===== Registry: temp setting to optimise web gadget ==================================================================================================================================================================================
Global sglpValueName.s = GetFilePart(ProgramFilename())
Global lglpData.l = 11001
Global lglpdwDisposition.l
Global igphkResult.i
If RegCreateKeyEx_(#HKEY_CURRENT_USER, "SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", 0, #Null, #REG_OPTION_VOLATILE, #KEY_ALL_ACCESS, #Null, @igphkResult, @lglpdwDisposition) = #ERROR_SUCCESS
RegSetValueEx_(igphkResult, sglpValueName, 0, #REG_DWORD, @lglpData, SizeOf(LONG))
RegCloseKey_(igphkResult)
EndIf
;======================================================================================================================================================================================================================================
Code: Select all
;Registry: temp setting to optimise web gadget: remove
If RegOpenKeyEx_(#HKEY_CURRENT_USER, "SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", 0, #KEY_SET_VALUE, @igphkResult) = #ERROR_SUCCESS
RegDeleteValue_(igphkResult, sglpValueName)
RegCloseKey_(igphkResult)
EndIf
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Difference in IE version
I have already taken this code in different posts that I read here in the forum ...IdeasVacuum wrote:There is a registry setting you could try:
[/size]Code: Select all
;===== Registry: temp setting to optimise web gadget ================================================================================================================================================================================== Global sglpValueName.s = GetFilePart(ProgramFilename()) Global lglpData.l = 11001 Global lglpdwDisposition.l Global igphkResult.i If RegCreateKeyEx_(#HKEY_CURRENT_USER, "SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", 0, #Null, #REG_OPTION_VOLATILE, #KEY_ALL_ACCESS, #Null, @igphkResult, @lglpdwDisposition) = #ERROR_SUCCESS RegSetValueEx_(igphkResult, sglpValueName, 0, #REG_DWORD, @lglpData, SizeOf(LONG)) RegCloseKey_(igphkResult) EndIf ;======================================================================================================================================================================================================================================
Code: Select all
;Registry: temp setting to optimise web gadget: remove If RegOpenKeyEx_(#HKEY_CURRENT_USER, "SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", 0, #KEY_SET_VALUE, @igphkResult) = #ERROR_SUCCESS RegDeleteValue_(igphkResult, sglpValueName) RegCloseKey_(igphkResult) EndIf
Re: Difference in IE version
wayne-c wrote:Including this line in the HTML helped me a lot when working with the WebGadget:Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
Help without doubts but does not solve the problem yet the difference in redenrization
Re: Difference in IE version
No soluction for question?