hallo kann mir einer sagen warum der zweite url button nicht geht ???
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
_IEErrorHandlerRegister ()
$oIE = _IECreateEmbedded ()
$GUI = GUICreate("Simple Web Browser", 800, 450)
$GUIActiveX = GUICtrlCreateObj($oIE, 16, 10, 780, 400)
$GUIActiveX = GUICtrlCreateObj($oIE, 16, 10, 780, 400)
$url_button = GUICtrlCreateButton("URL", 16, 410, 300, 25)
$url_button1 = GUICtrlCreateButton("URL1", 352, 408, 443, 25)
GUISetState(@SW_SHOW)
GUISetState()
_IENavigate($oIE,"www.darkorbit.com")
While 1
$msg = GUIGetMsg()
Select
Case $msg = $url_button
$URL = Inputbox("Web Browser", "Enter the URL you want to visit.")
_IENavigate($oIE, $URL)
Case $msg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd
While 2
$msg = GUIGetMsg()
Select
Case $msg = $url_button1
$URL = Inputbox("Web Browser", "Enter the URL you want to visit.")
_IENavigate($oIE, $URL)
Case $msg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd