C# program to share screen using RDPCOMAPILIB.dll
-
Hi!! i'm getting this error when i try to share screen from my notebook connected to the router using wifi n my pc by ethernet "System.ArgumentException: Value does not fall within the expected range. at RDPCOMAPILib.IRDPSRAPIViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword) at AxRDPCOMAPILib.AxRDPViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword)" this error comes each time i try to connect it axRDPviewer.connect(Connstring,"user1", ""); I cant get this corrected... It works perfect when i do it on my pc but aint working when try to share my notebook screen... the Connstring is being sent by Tcp message(Send and receive)... Can u tell me where is the source of the problem... How can i take care of this???
-
Hi!! i'm getting this error when i try to share screen from my notebook connected to the router using wifi n my pc by ethernet "System.ArgumentException: Value does not fall within the expected range. at RDPCOMAPILib.IRDPSRAPIViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword) at AxRDPCOMAPILib.AxRDPViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword)" this error comes each time i try to connect it axRDPviewer.connect(Connstring,"user1", ""); I cant get this corrected... It works perfect when i do it on my pc but aint working when try to share my notebook screen... the Connstring is being sent by Tcp message(Send and receive)... Can u tell me where is the source of the problem... How can i take care of this???
Can you connect to your notebook when you use Microsoft's Remote Desktop? That's a good way to find out where the problem is located: e.g. remote access not allowed on your notebook, empty passwords for remote access not accepted...
-
Hi!! i'm getting this error when i try to share screen from my notebook connected to the router using wifi n my pc by ethernet "System.ArgumentException: Value does not fall within the expected range. at RDPCOMAPILib.IRDPSRAPIViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword) at AxRDPCOMAPILib.AxRDPViewer.Connect(String bstrConnectionString, String bstrName, String bstrPassword)" this error comes each time i try to connect it axRDPviewer.connect(Connstring,"user1", ""); I cant get this corrected... It works perfect when i do it on my pc but aint working when try to share my notebook screen... the Connstring is being sent by Tcp message(Send and receive)... Can u tell me where is the source of the problem... How can i take care of this???