W
whitethomas12
Ok, I can get terminal services to work in VbScript, but when I add
reference to the Mstscax.dll
and add the following code, I get a blank screen (I am using ASP.NET
2.0 VB):
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim RDP As MSTSCLib.IMsRdpClient2 = New
MSTSCLib.MsRdpClient2()
RDP.Server = "192.168.4.2"
RDP.UserName = "xxxx"
RDP.FullScreen = True
RDP.DesktopHeight = 300
RDP.DesktopWidth = 300
RDP.Connect()
End Sub
After research on the web I found that I have to create new AxMSTSCLib
and MSTSCLib DLLs. So I did and I cannot for the life of me be able
to get this to work
I am not sure what I am doing wrong. Can someone please help me on
this.
reference to the Mstscax.dll
and add the following code, I get a blank screen (I am using ASP.NET
2.0 VB):
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim RDP As MSTSCLib.IMsRdpClient2 = New
MSTSCLib.MsRdpClient2()
RDP.Server = "192.168.4.2"
RDP.UserName = "xxxx"
RDP.FullScreen = True
RDP.DesktopHeight = 300
RDP.DesktopWidth = 300
RDP.Connect()
End Sub
After research on the web I found that I have to create new AxMSTSCLib
and MSTSCLib DLLs. So I did and I cannot for the life of me be able
to get this to work
I am not sure what I am doing wrong. Can someone please help me on
this.