aa2zz6 24 Posted June 10, 2019 When I access our portal maps using the IECreateEmbedded function inside a GUI the site & map flickers white like crazy but when I open the IE browser it's flawless. The goal is to embed different portal facility maps into 1 application. Is there a way to fix this or make it run smoother by chance? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #include <MsgBoxConstants.au3> Opt("GUIResizeMode", $GUI_DOCKBORDERS) $GUI = GUICreate("NEO Portal", 1116, 800, -1, -1, BitOR($WS_SIZEBOX , $WS_CLIPCHILDREN) , $WS_EX_COMPOSITED) ;, BitOR($WS_SIZEBOX,$WS_THICKFRAME, $WS_TABSTOP) $object = _IECreateEmbedded () Opt("GUIResizeMode", 905) $object_ctrl = GUICtrlCreateObj($object, -2, -2, 1120, 804) $oIE = _IENavigate($object,"https://.net/hu/sharing/oauth2/authorize?client_id=Workforce&response_type=token&state=") GUISetState(@SW_MAXIMIZE) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Share this post Link to post Share on other sites
Danp2 904 Posted June 10, 2019 Have you looked at this thread to control the IE version? 1 aa2zz6 reacted to this [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
aa2zz6 24 Posted June 10, 2019 Local $regValue = "0x2AF9" RegWrite("HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", _ProcessGetName(@AutoItPID), "REG_DWORD", $regValue) RegWrite("HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION", _ProcessGetName(@AutoItPID), "REG_DWORD", $regValue) 11001 (0x2AF9 Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. Share this post Link to post Share on other sites