Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# program to share screen using RDPCOMAPILIB.dll

C# program to share screen using RDPCOMAPILIB.dll

Scheduled Pinned Locked Moved C#
helpquestioncsharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ayandelhi
    wrote on last edited by
    #1

    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???

    B N 2 Replies Last reply
    0
    • A ayandelhi

      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???

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      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...

      1 Reply Last reply
      0
      • A ayandelhi

        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???

        N Offline
        N Offline
        Nexuscan
        wrote on last edited by
        #3

        when im using that RDPCOMAPILib, the aero style dosen't working ! how can we solve that problem!? can somebody help me ?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups