Hallo Leute,
ich will mit diesem Programm mein Router ansteuern.
Wenn ich es so aber versuche zeigt er mir nicht mal die Startseite vom Router an.Woran liegt das?
Hier erstmal den Code.:
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ie.au3>
$oIE = _IECreateEmbedded()
$Form1 = GUICreate("Form1", 1001, 751, 196, 112)
$Group1 = GUICtrlCreateGroup("Login Box", 0, 0, 345, 49)
$Nickname = GUICtrlCreateInput("Admin", 8, 16, 121, 22, -1, BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))
$Kennwort = GUICtrlCreateInput("Kennwort", 136, 16, 121, 22, BitOR($ES_PASSWORD,$ES_AUTOHSCROLL), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))
$Button1 = GUICtrlCreateButton("Login", 264, 16, 75, 25, 0, BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
$ani1 = GUICtrlCreateObj ($oIE,0, 55, 950,700)
GUISetState( )
_IENavigate($oIE, "192.168.0.1")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd