Click here to Skip to main content
15,921,463 members

Comments by rsdnitesh (Top 1 by date)

rsdnitesh 21-Mar-12 10:05am View    
Hi,
I am using AxMSTSCLib.AxMsTscAxNotSafeForScripting activex component for open RemoteDesktop on a windows forms code is given below

Dim RDP As New AxMSTSCLib.AxMsTscAxNotSafeForScripting
RDP.CreateControl()
RDP.Server = "Servername"
RDP.UserName = "user"
Dim s As IMsRdpClientNonScriptable = DirectCast(RDP.GetOcx(), IMsTscNonScriptable)
s.ClearTextPassword = "PWD"
RDP.Connect()

code works fine but when i run the program the control is not visible.

How to fix this??