Jfish Posted November 13, 2013 Posted November 13, 2013 All, I have been playing around with the embedded RDP client found >here. I built a GUI front end and a SQLite DB for an "RDP launcher." My problem is handling the close. When I close the RDP session the control still appears in the GUI with the disconnect message. I have been searching the MSDN documentation and the help file and have found the MSDN docs confusing. I thought that something like this would work ... but it does not. $oConnectionHandler = ObjEvent($oRDP_Ctrl,"_closeWindow","ondisconnected") func _closeWindow() ; code will attempt to close window MsgBox("","","Connection being closed: "&_testDict($oConnectionHandler)) $oRDP.RequestClose(0x0000) EndFunc I can post all the code if that is helpful - most of it is not relevant as it deals with the DB and GUI so I did not want it to detract from or confuse what I am hoping is a relatively simple question. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now