Hi, everyone! Help me please with connecting to the Microsoft RDP Client Control using QAxContainer.QAxWidget()
This is a code snippet:
QAx_RDP.setControl('{54d38bf7-b1ef-4479-9674-1bd6ea465258}')
QAx_RDP.setProperty('Server', 'xxx.xxx.xxx.xxx')
QAx_RDP.setProperty('UserName', 'user')
QAx_RDP.Connect()
QAx_RDP = QAxContainer.QAxWidget(self)
QAx_RDP.setControl('{54d38bf7-b1ef-4479-9674-1bd6ea465258}')
QAx_RDP.setProperty('Server', 'xxx.xxx.xxx.xxx')
QAx_RDP.setProperty('UserName', 'user')
QAx_RDP.Connect()
To copy to clipboard, switch view to plain text mode
All works fine, but I need to enter the password manually... The QAx_RDP object has no "password" property.. And I don't know how to pass it..
I tried to google it and found that Microsoft RDP Client Control uses vtables to get a password (and some other data) from a client...
How can I use a vtable in Python? Or maybe there is another solution?
Bookmarks