Jump to content

RDP ActiveX Question - (Moved)


Recommended Posts

I have built an app using the ActiveX object for RDP. My question is this, I have a client that uses 2 monitors and currently this implementation does not take advantage of that. Looking on Microsoft's webpage, there is a control under NonScriptable5 UseMultimon that should do this, but for the life of me I cannot figure out how to get my object to access it. I have tried numerous varitions of:

; ====== Initilize RDP =====
$oRDP = ObjCreate("MsTscAx.MsTscAx.2")
 $oRDP_Ctrl = GUICtrlCreateObj($oRDP, 50, 44, 400, 100)
;================================ There is more code here specific to username, server connecting to etc etc

$oRDP.NonScriptable5.UseMultimon = True

$oRDP.NonScriptable.UseMultimon = True

$oRDP.NonScriptable6.UseMultimon = True

$oRDP.UseMultimon = True

 

Nothing seems to work. If I create an RDP file on the desktop and set the use multimon to 1, it works, but obviously I don't want to do this.

Thank you for any insight into this. (I hope the NonScriptable portion in the name does not mean that these are not accessible via AutoIT!)

Edited by quantum900
Link to comment
Share on other sites

  • Moderators

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...