I'm using the RDP ActiveX control in a web page to open remote desktop connections. Here is the code I using but it doesn't work, it gets stuck when calling the GetErrorDescription method:
<script language="vbscript">
sub MsRdpClient_OnDisconnected(disconnectCode)
dim error_message
extendedDiscReason = MsRdpClient.ExtendedDisconnectReason
MsRdpClient.GetErrorDescription disconnectCode, extendedDiscReason, error_message
MsgBox error_message, 0, "Error"
end sub
</script>
Thanks, Rafael