I tried to make a GUI with an embedded IE site...
It works fine for http://www.google.be (link 1)
But it fails for https://pronet.aspex.be/pronetEE/ (link 2) because the website needs a certificate.
I installed the certificate in Internet Explorer and link 2 works fine if tried in Internet Explorer but again does not work any more in the AutoIt-GUI.
I think it has something to to with the line ObjCreate("Shell.Explorer.2") in the _IECreateEmbedded() function (IE.au3-file)
I tried to replace it with ObjCreate("InternetExplorer.Application") but it fails also...
Can anybody help please.
Thanx,
Peter
[ autoIt ] ( Popup )
#include <GUIConstants.au3> #include <IE.au3> _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () $Gui = GUICreate("Pronet_NOK", @DesktopWidth/2, @DesktopHeight/2, -1, -1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj($oIE, -1, -1, @DesktopWidth/2, @DesktopHeight/2) GUISetState() GUICtrlSetResizing($GUIActiveX,1) _IENavigate ($oIE, "[url="https://pronet.aspex.be/pronetEE/"]https://pronet.aspex.be</SPAN>/pronetEE/[/url]") While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() Exit
This post has been edited by Lemmens Peter: 17 November 2007 - 08:06 PM

Sign In
Register
Help
MultiQuote