Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to connect to the Microsoft RDP Client Control (ActiveX) using QAxContainer.QAxWidget()
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
pythonpyqtactivex
3 Posts 3 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Serj
    wrote on 11 Apr 2015, 07:42 last edited by
    #1

    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

    T 1 Reply Last reply 4 Dec 2023, 01:42
    0
    • S Serj
      11 Apr 2015, 07:42

      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

      T Offline
      T Offline
      Tian.Sen
      wrote on 4 Dec 2023, 01:42 last edited by
      #2

      @Serj hi ,Do you solved it。i have the same question。

      J 1 Reply Last reply 4 Dec 2023, 06:37
      0
      • T Tian.Sen
        4 Dec 2023, 01:42

        @Serj hi ,Do you solved it。i have the same question。

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 4 Dec 2023, 06:37 last edited by
        #3

        @Tian-Sen This thread is 8 years old and the OP was also last time here 8 years ago.
        I suggest you start your own thread.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved