locked
Remote Desktop Application in C# RRS feed

  • Question

  • I would like to create a Remote Desktop Application that will assist me when a client is having an issue, I can just remote in with their permission and fix any issues they are having. I would like to be able to do this in C# but if it can be done in VB that will work just as well. if it is possible. Any suggestions?

    • Edited by Marty Q Saturday, June 27, 2009 4:43 AM
    Friday, June 26, 2009 10:20 PM

Answers

  • My first suggestion would be "don't". Use Remote Desktop (included in Widnows), UltraVNC (free!), and/or Symantec pcAnywhere.

    Developing a solution that is both correct and efficient is significantly more difficult than it appears.

           -Steve
    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ
    MSBuild user? Try out the DynamicExecute task in the MSBuild Extension Pack source; it's currently in Beta so get your comments in!
    Saturday, June 27, 2009 11:38 AM
  • It's difficult to do, and you already have a ready solution that's accessible without installation on almost every Windows PC, called Remote Desktop. 

    Start -> Programs -> Accessories -> Remote Desktop Connection.

    Why rewrite the wheel here when you already have something that works wonderfully?  To do so would be a great exercise in programming, but you wouldn't really accomplish anything useful probably.  Just use Remote Desktop.  You could probably use it right now.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client
    • Marked as answer by Bin-ze Zhao Wednesday, July 1, 2009 10:09 AM
    Saturday, June 27, 2009 5:07 PM
    Moderator
  • It's difficult to do, and you already have a ready solution that's accessible without installation on almost every Windows PC, called Remote Desktop. 

    Start -> Programs -> Accessories -> Remote Desktop Connection.

    Why rewrite the wheel here when you already have something that works wonderfully?  To do so would be a great exercise in programming, but you wouldn't really accomplish anything useful probably.  Just use Remote Desktop.  You could probably use it right now.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client

    Remote Desktop Connection will only connect to a computer running terminal services (Most business desktops and servers).  With remote desktop, you login as a user.  Remote desktoop disables the local graphics and is more obtrusive than you probably want to be.  VNC is a light weight app that can be run without installation.  With VNC, both you and the local user can control the computer.  Your client can observe your actions as you can his.  And no, you don't want to try to write your own program.  Download UltraVNC.
    • Marked as answer by Bin-ze Zhao Wednesday, July 1, 2009 10:09 AM
    Saturday, June 27, 2009 6:28 PM

All replies

  • My first suggestion would be "don't". Use Remote Desktop (included in Widnows), UltraVNC (free!), and/or Symantec pcAnywhere.

    Developing a solution that is both correct and efficient is significantly more difficult than it appears.

           -Steve
    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ
    MSBuild user? Try out the DynamicExecute task in the MSBuild Extension Pack source; it's currently in Beta so get your comments in!
    Saturday, June 27, 2009 11:38 AM
  • Agreed.  Making your own would be a massive waste of time.  The existing solutions already work well.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client
    Saturday, June 27, 2009 11:40 AM
    Moderator
  • Really is it that difficult? Or is it pointless? I just wanted something that will connect temporarily and when we are done the client can just close the connection.
    Saturday, June 27, 2009 4:40 PM
  • It's difficult to do, and you already have a ready solution that's accessible without installation on almost every Windows PC, called Remote Desktop. 

    Start -> Programs -> Accessories -> Remote Desktop Connection.

    Why rewrite the wheel here when you already have something that works wonderfully?  To do so would be a great exercise in programming, but you wouldn't really accomplish anything useful probably.  Just use Remote Desktop.  You could probably use it right now.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client
    • Marked as answer by Bin-ze Zhao Wednesday, July 1, 2009 10:09 AM
    Saturday, June 27, 2009 5:07 PM
    Moderator
  • It's difficult to do, and you already have a ready solution that's accessible without installation on almost every Windows PC, called Remote Desktop. 

    Start -> Programs -> Accessories -> Remote Desktop Connection.

    Why rewrite the wheel here when you already have something that works wonderfully?  To do so would be a great exercise in programming, but you wouldn't really accomplish anything useful probably.  Just use Remote Desktop.  You could probably use it right now.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client

    Remote Desktop Connection will only connect to a computer running terminal services (Most business desktops and servers).  With remote desktop, you login as a user.  Remote desktoop disables the local graphics and is more obtrusive than you probably want to be.  VNC is a light weight app that can be run without installation.  With VNC, both you and the local user can control the computer.  Your client can observe your actions as you can his.  And no, you don't want to try to write your own program.  Download UltraVNC.
    • Marked as answer by Bin-ze Zhao Wednesday, July 1, 2009 10:09 AM
    Saturday, June 27, 2009 6:28 PM
  • It's difficult to do, and you already have a ready solution that's accessible without installation on almost every Windows PC, called Remote Desktop. 

    Start -> Programs -> Accessories -> Remote Desktop Connection.

    Why rewrite the wheel here when you already have something that works wonderfully?  To do so would be a great exercise in programming, but you wouldn't really accomplish anything useful probably.  Just use Remote Desktop.  You could probably use it right now.
    David Morton - http://blog.davemorton.net/ - @davidmmorton - ForumsBrowser, a WPF MSDN Forums Client

    Remote Desktop Connection will only connect to a computer running terminal services (Most business desktops and servers).  With remote desktop, you login as a user.  Remote desktoop disables the local graphics and is more obtrusive than you probably want to be.  VNC is a light weight app that can be run without installation.  With VNC, both you and the local user can control the computer.  Your client can observe your actions as you can his.  And no, you don't want to try to write your own program.  Download UltraVNC.
    Thanks... Well let me ask this question. I am trying to become an all around better programmer, currently I am a mere novice at best. Are there any good tutorials that would help me to perfect my programming skills. I was hoping to do this project because I figured it would be a GREAT exercise so I could learn more about programming.
    Sunday, June 28, 2009 2:26 PM
  • Thanks... Well let me ask this question. I am trying to become an all around better programmer, currently I am a mere novice at best. Are there any good tutorials that would help me to perfect my programming skills. I was hoping to do this project because I figured it would be a GREAT exercise so I could learn more about programming.

    It still can be.  Install UltraVNC server on a computer, download the VNC C# client (it's a separate download not associated with UltraVNC) and modify it to your requirements.  For an added challenge, try converting the server to C#.  You'll quickly appreciate the warnings in this post.
    Sunday, June 28, 2009 2:35 PM
  • Thanks for the warning... I am going to take the advice. I will use pc Anywhere, but I will look into the VNC for learning purposes only.
    Sunday, June 28, 2009 3:27 PM
  • I recommend writing a small, useful program. Even a simple address book has to deal with data storage for a backend, possibly multiple views of data, etc., so you get to deal with decisions at all levels of programming. Other classics are the "notepad clone" and "recipe" programs.

    If you (or a friend) could use a good program, just write it. I'm using my church as a guinea pig to learn MVVM; I'm writing a financial program for them (churches like other 501(c)s have special tracking, reporting, and earmarking requirements that most programs - even business financial programs -  don't handle well). It helps to have real-world requirements when learning new technology.

           -Steve
    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ
    MSBuild user? Try out the DynamicExecute task in the MSBuild Extension Pack source; it's currently in Beta so get your comments in!
    Monday, June 29, 2009 1:49 AM
  • http://www.isilorhanel.net/palantir/PalantirSource.zip is a free, opensource application for managing multiple remote desktop connections at same time.
    • Proposed as answer by Tamer Oz Friday, September 18, 2009 2:04 PM
    Friday, September 18, 2009 12:01 PM