How to connect to the Microsoft RDP Client Control (ActiveX) using QAxContainer.QAxWidget()



  • Hi, everyone! Help me please with connecting to the Microsoft RDP Client Control using QAxContainer.QAxWidget() and PyQt

    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()

    All works fine, but when the connection begins I need to enter the password manually... The QAx_RDP object has the AdvancedSettings.ClearTextPassword property, but it is not accessible... I tried to google it and I 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?

    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.