Jump to content

Internet Explorer


Ghitza
 Share

Recommended Posts

#include <GUIConstants.au3>


$oIE = ObjCreate("Shell.Explorer.2")


GUICreate ( "",1000, 750,(@DesktopWidth-1000)/2, (@DesktopHeight-750)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX      = GUICtrlCreateObj   ( $oIE,     0, 40 , 1000 ,750 )


$file = GUICtrlCreateInput ( "", 200,  20, 600, 20)
GUISetState ()    

$oIE.navigate(GUICtrlRead($file))
$buton=GUICtrlCreateButton("Priveste",800, 20, 50,20)



While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $buton
    GUICtrlRead($file)
    $oIE.navigate ($file)
        

        Case $msg = $GUI_EVENT_CLOSE 
        ExitLoop
        EndSelect
    WEnd

Where i mistake in this script,you help me pls

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...