How to start a remote desktop control project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moonalamoor
    New Member
    • Feb 2008
    • 18

    How to start a remote desktop control project

    Hi

    I want to create my own (Remote Desktop Control) using C# in Visual Studio 2003, that I can use it in any lab. (School lab or university lab).
    So the lecturer could see the screen of student and could control certain one who needs help.

    I just want to know what the first step is that I should begin with it ??
    If anyone knows a good site that can help me in coding my project ???

    Thank you.
  • andrew4582
    New Member
    • Feb 2008
    • 3

    #2
    -Add a reference to the Microsoft Terminal Services Control under COM Components [Project -> Add Reference->COM Components

    -Add control to a form

    -Connect

    Code:
            private void button1_Click(object sender, EventArgs e)
            {
                axMsTscAxNotSafeForScripting1.Server = "TheServer";
                axMsTscAxNotSafeForScripting1.Domain = "TheDomain";
                axMsTscAxNotSafeForScripting1.UserName = "TheUserName";
                axMsTscAxNotSafeForScripting1.Connect();
            }
    More Info:

    Comment

    • moonalamoor
      New Member
      • Feb 2008
      • 18

      #3
      i tried the code
      i put in the server the ip address but when i run it no thing happen
      how can i know that i has connected to the other pc ?

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        terminal services have to be enabled on the machine that you are trying to connect to.

        NOTE:
        Remote Desktop takes control over the system and gives it to the remote user.
        Remote Assistance allows both the local user and the remote user to interact with the desktop at the same time. (Similar to if you had dual monitors, dual keyboards and dual mice)

        Comment

        • moonalamoor
          New Member
          • Feb 2008
          • 18

          #5
          Thank you....

          I want to build a software that can access pc remotly , view the screen and take the control of the mouse and the keyboard ((without logoff))
          like the remote desktop connection of windowsXP (it's my graduation project)

          i saw microsoft RDP client control component in C# i think that it will help me but idont have any idea of how to use

          so can any one tell me how can i use this component?

          Comment

          • moonalamoor
            New Member
            • Feb 2008
            • 18

            #6
            So do you know how to capture the screen and make it as picture
            then send it to the client ??

            Comment

            • Plater
              Recognized Expert Expert
              • Apr 2007
              • 7872

              #7
              There are win32 API calls (and I *THINK* .NET calls) that will grab the image of the screen as a bitmap. You could then send it if you wanted to.

              MSDN should have something on the RDP component, might have to dig for it though.

              Comment

              • moonalamoor
                New Member
                • Feb 2008
                • 18

                #8
                i will use the windows terminal services component in my project to access pc from another pc remotly
                i know that it is used in remote desktop connection that is already in windows OS

                what i want to know is that if i use it to access there other pc it will logoff ,, or nt
                i dont want the accessed pc to logoff so is there an option to avoid the pc from logoff ???

                Comment

                Working...