Управление Windows rdp active x ничего не показываетC#

Место общения программистов C#
Гость
Управление Windows rdp active x ничего не показывает

Сообщение Гость »


Я пытаюсь использовать элемент управления ActiveX удаленного рабочего стола в приложении WinForm. Я следовал примеру, приведенному в codeproject (https://www.codeproject.com/Articles/43 ... sing-C-NET).
Образец не работает. В обработчике кнопки подключения я получаю недопустимое исключение приведения при выполнении

Код: Выделить всё

IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
Other references found on Google mention to use any of the

Код: Выделить всё

AdvancedSettings
members of the ActiveX control instance and set the

Код: Выделить всё

ClearTextPassword
property on it. I was not able to find such a property anywhere. I am out of ideas on how to get that control to work.

Does anyone have a current example of how to open a remote desctop sessioin with the RDP ActiveX control?


Источник: https://stackoverflow.com/questions/463 ... w-anything

Вернуться в «C#»