#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
$Form1 = GUICreate("Form1", 617, 438, 192, 114)
$Obj1 = ObjCreate("Shell.Explorer.2")
$Obj1_ctrl = GUICtrlCreateObj($Obj1, 0, 0, 616, 400)
$Button1 = GUICtrlCreateButton("Yandex", 0, 408, 75, 25, 0)
$Button2 = GUICtrlCreateButton("Autoit", 78, 408, 75, 25, 0)
GUISetState(@SW_SHOW)
_IENavigate($Obj1, "http://google.ru")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_IENavigate($Obj1, "http://ya.ru")
Case $Button2
_IENavigate($Obj1, "http://autoit-script.ru")
EndSwitch
WEnd