title: How to login to the Microsoft RDP Client Control ActiveX using QAxContainer.QAxWidget() and PyQt
body: <p>everyone! Help me please with connecting to the Microsoft RDP Client Control using <code>QAxContainer.QAxWidget()</code> in Python and PyQt...</p>
  
  <p>This is my code snippet:</p>
  
  <pre><code>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()
  </code></pre>
  
  <p>All works fine, but I need to enter the password manually... My <code>QAx_RDP</code> object has the <code>AdvancedSettings2.ClearTextPassword</code> property, but this property is not accessible. I tried to do it in two ways:</p>
  
  <pre><code> 1. QAx_RDP.AdvancedSettings2.ClearTextPassword = "password"
   2. QAx_RDP.setProperty('ClearTextPassword', "password")
  </code></pre>
  
  <p>Neither of them works. How can I send a password programmatically?</p>
  
  <p>Thanks!</p>