TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
James Alcroft
NA
18
22.6k
RDP UseMultiMon in seamless mode
Mar 21 2013 12:44 PM
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
Reply
Answers (
2
)
dynamic label
How to call or consume OTRS webservice from Visual studio