vb.net 远程桌面应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17348987/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Remote Desktop Application
提问by Ahmed Nazmy
I'm trying to use 'Microsoft RDP Client Control verison 9', but it does not show any thing into the control on the form, here is my code
我正在尝试使用“Microsoft RDP Client Control verison 9”,但它没有在表单上的控件中显示任何内容,这是我的代码
axRDP.Server = "10.10.10.10"
axRDP.UserName = "Domain\Username"
Dim secured As IMsTscNonScriptable = DirectCast(axRDP.GetOcx(), IMsTscNonScriptable)
secured.ClearTextPassword = "Password1"
axRDP.Connect()
Please I want to know what is wrong with my code and how to resolve it.
请我想知道我的代码有什么问题以及如何解决它。
回答by coder
You need to right click on toolboxand select choose items
您需要右键单击工具箱并选择选择项目
There go to COM tab and select and there you select
Microsoft Terminal Services Client control
转到 COM 选项卡并选择并在那里选择
Microsoft Terminal Services Client control
Now you'll find a remote desktop connection in your toolbox..Drag and drop on to your form
现在,您将在工具箱中找到远程桌面连接。拖放到您的表单上
That's it :)
就是这样 :)

