Hi all
We are using AxMsRdpClient6NotSafeForScripting ActiveX control to lanch our application in a remote desktop session.
I have everything working as we want - the application is running in seamless mode (RemoteProgram.RemoteProgramMode = true).
We have 1 problem. We can't get multi monitors to work properley. My code:
# _oRDPClient is a AxMsRdpClient6NotSafeForScripting object on the form
((ISupportInitialize)_oRDPClient).BeginInit();
IMsRdpClientNonScriptable5 sec = (IMsRdpClientNonScriptable5)_oRDPClient.GetOcx();
sec.UseMultimon = true;
sec.DisableConnectionBar = true;
sec.LaunchedViaClientShellInterface = false;
_oRDPClient.RemoteProgram.RemoteProgramMode = true;
With the above, I do have multi monitors working, but I also have the remote server desktop in the background meaning I can't get back to my local desktop.
If I remove the sec.UseMultiMon line, the application launchs, I see my local desktop, but I can't move the application to the second screen.
Is there something which I have missed.
Alternatively, is there a way that I can work out which is the secondary monitor and force the application to launch on that monitor instead of the primary one.
Many thanks.
James
Loading
Robert GladewitzPosted Mar 27, 2014, 4:47 AM
James AlcroftPosted Mar 26, 2013, 6:39 AM
James