문제

I'm trying to send a Ctrl-Alt-Break sequence to an RDP ActiveX window in a WebBrowser control in order to make it fullscreen.

I've searched the internet and tried numerous ways to accomplish this (PostMessage, keybd_event, SendMessage), and have not succeeded.

I am pretty sure I did something wrong, so I'd really like some help.

Thanks!

도움이 되었습니까?

해결책

Ok, so I found another way to do it, and I'll post it here for the ones who hit this question from Google in search for such solution.

What I did, is get the RDP ActiveX by id from the WebBrowser control, and set it's "Fullscreen" property to true:

HtmlElement rdpClient = myWebBrowser.Document.GetElementById("MsRdpClient");
rdpClient.SetAttribute("Fullscreen", "true");
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top